﻿* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.pagebody {
    background: linear-gradient(145deg, #0a1e5e 0%, #1a3a8f 100%);
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0px;
    background-image: url(/resources/background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Modern card tasarımı - PACS sayfasıyla uyumlu */
.login-card {
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

    .login-card:hover {
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
        transform: translateY(-4px);
    }

.card-body {
    padding: 1.5rem !important;
}

.login-header {
    margin-bottom: 0.8rem !important;
}

.login-logo {
    margin-bottom: 0.1rem;
    display: flex;
    justify-content: center;
}

    .login-logo img {
        height: 100px;
        width: auto;
        /* filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));*/
        transition: all 0.3s ease;
    }

        .login-logo img:hover {
            transform: scale(1.05);
            filter: drop-shadow(0 8px 16px rgba(78, 115, 223, 0.2));
        }

.login-header h4 {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.login-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.login-tabs {
    border-bottom: 2px solid #e2e8f0;
    gap: 12px;
    margin-bottom: 2.5rem !important;
    padding: 0;
}

.nav-item {
    flex: 1;
    text-align: center;
}

.login-tab {
    font-weight: 600;
    color: #94a3b8;
    border: none !important;
    padding: 14px 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.2s ease;
    position: relative;
    background: transparent;
    width: 100%;
    border-radius: 40px !important;
}

    .login-tab:hover {
        color: #4e73df;
        background: rgba(78, 115, 223, 0.05);
    }

    .login-tab.active {
        color: #4e73df !important;
        background: rgba(78, 115, 223, 0.1) !important;
        font-weight: 700;
    }

    .login-tab i {
        font-size: 1.1rem;
        margin-right: 8px;
    }

.form-group {
    margin-bottom: 1.8rem;
}

.input-group {
    border-radius: 50px;
    overflow: hidden;
}

.input-group-text {
    border: 2px solid #e2e8f0;
    border-right: none;
    background-color: #f8fafc;
    padding: 0.75rem 1.2rem;
}

.form-control-user {
    border: 2px solid #e2e8f0;
    border-left: none;
    border-radius: 0 !important;
    padding: 0.75rem 1.2rem !important;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #f8fafc;
    height: auto !important;
}

    .form-control-user:focus {
        border-color: #4e73df;
        box-shadow: none;
        background-color: #ffffff;
    }

    .form-control-user::placeholder {
        color: darkgray;
        font-weight: 400;
    }

.btn-user {
    background: linear-gradient(145deg, #4e73df, #224abe);
    border: none;
    border-radius: 50px !important;
    padding: 1rem !important;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.3);
    transition: all 0.2s ease;
    margin-top: 1rem;
    color: white;
    height: auto;
}

    .btn-user:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(78, 115, 223, 0.4);
        background: linear-gradient(145deg, #5a7fe3, #2a4ec7);
    }

    .btn-user:active {
        transform: translateY(0);
    }

.text-danger {
    color: #e74a3b !important;
    background: rgba(231, 74, 59, 0.1);
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1.5rem !important;
    border: 1px solid rgba(231, 74, 59, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

    .text-danger i {
        font-size: 1.3rem;
    }

.result-message {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 12px 20px;
    border-radius: 50px;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    width: 100%;
    text-align: center;
}

@@media (max-width: 768px) {
    body.pagebody {
        padding: 15px;
    }

    .card-body {
        padding: 2rem !important;
    }

    .login-header h4 {
        font-size: 1.2rem;
    }

    .login-logo img {
        height: 60px;
    }

    .login-tab {
        font-size: 0.9rem;
        padding: 12px 0;
    }
}

/* Loading animasyonu */
.btn-user.loading {
    position: relative;
    color: transparent !important;
}

    .btn-user.loading:after {
        content: '';
        position: absolute;
        width: 24px;
        height: 24px;
        top: 50%;
        left: 50%;
        margin-left: -12px;
        margin-top: -12px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        border-top-color: white;
        animation: spin 1s ease-in-out infinite;
    }

@@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alt bilgi */
.footer-note {
    text-align: center;
    margin-top: 2rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.portal-title {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.main-title {
    font-size: 1.3rem;
    font-weight: 500;
    background: linear-gradient(149deg, #0a1e5e 0%, #1a3a8f 100%);
    background-size: 200% auto;
    -webkit-background-clip: padding-box;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    animation: flow 3s ease infinite;
    /*text-shadow: 0 0 60px rgba(78, 115, 223, 0.3);*/
    position: relative;
    z-index: 4;
}

@keyframes flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.title-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 100%;
    /*background: radial-gradient(ellipse, rgba(255,215,0,0.15), transparent);*/
    filter: blur(30px);
    z-index: 0;
}
