﻿:root {
    /*  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    --primary-gradient: linear-gradient(135deg, #32a852 0%, #0f9b4f 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);   
    --shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-hover: 0 15px 35px rgba(31, 38, 135, 0.4);
}

body {
    /*background: var(--primary-gradient);*/
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

    .login-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--success-gradient);
    }

    .login-container:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);
    }

.logo-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--success-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

    .logo-placeholder i {
        font-size: 2rem;
        color: white;
    }

.main-title {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.sub-title {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.modern-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #6c757d;
    transition: color 0.3s ease;
}

.modern-input {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 15px 15px 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

    .modern-input:focus {
        border-color: #4facfe;
        box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.25);
        background: rgba(255, 255, 255, 0.95);
        transform: translateY(-2px);
    }

        .modern-input:focus + .input-icon {
            color: #4facfe;
        }

.floating-label {
    position: absolute;
    left: 50px;
    top: 15px;
    color: #6c757d;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
}

.modern-input:focus ~ .floating-label,
.modern-input:not(:placeholder-shown) ~ .floating-label {
    top: -8px;
    left: 45px;
    font-size: 0.75rem;
    color: #4facfe;
    background: white;
    padding: 0 5px;
    border-radius: 4px;
}

.login-btn {
    background: var(--success-gradient);
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .login-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .login-btn:hover::before {
        left: 100%;
    }

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
    }

    .login-btn:active {
        transform: translateY(0);
    }

.alert-message {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.version-info {
    color: #6c757d;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0.7;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(79, 172, 254, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0);
    }
}

@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
        border-radius: 15px;
    }

    .main-title {
        font-size: 1rem;
    }

    .sub-title {
        font-size: 0.9rem;
    }
}
