﻿:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-bg: #ecf0f1;
    --dark-text: #2c3e50;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

    .login-header i {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .login-header h2 {
        margin: 0;
        font-weight: 600;
        font-size: 28px;
    }

    .login-header p {
        margin: 10px 0 0 0;
        opacity: 0.9;
        font-size: 14px;
    }

.login-body {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    color: var(--dark-text);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    }

.input-group-text {
    background: transparent;
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.input-group:focus-within .input-group-text {
    border-color: #667eea;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    color: white;
    transition: all 0.3s ease;
    margin-top: 10px;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    }

.form-check {
    margin-top: 20px;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    color: var(--dark-text);
    font-size: 14px;
}

.login-footer {
    background: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #27ae60;
    font-size: 13px;
    margin-bottom: 10px;
}

    .secure-badge i {
        font-size: 16px;
    }

.developer-credit {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 10px;
}

    .developer-credit a {
        color: #667eea;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .developer-credit a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

.text-danger {
    font-size: 14px;
    margin-top: 5px;
}

.alert {
    border-radius: 10px;
    border: none;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .login-container {
        border-radius: 15px;
    }

    .login-header {
        padding: 30px 20px;
    }

    .login-body {
        padding: 30px 20px;
    }

    .login-footer {
        padding: 15px 20px;
    }
}
