* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(108, 117, 125, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid #e9ecef;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #333333;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.logo p {
    color: #6C757D;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.input-field {
    position: relative;
    margin-bottom: 25px;
}

.input-field i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6C757D;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    transition: color 0.3s ease;
}

.input-field input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: #FFFFFF;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #333333;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-field input::placeholder {
    color: #adb5bd;
}

.input-field input:focus {
    border-color: #4A6FA5;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.input-field:focus-within i {
    color: #4A6FA5;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    color: #495057;
    font-size: 0.9rem;
}

.remember-forgot label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-forgot input {
    margin-right: 8px;
}

.forgot-link {
    color: #4A6FA5;
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    padding: 14px;
    background: #4A6FA5;
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover:not(:disabled) {
    background: #3a5a8c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
}

.btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.register-link {
    text-align: center;
    margin-top: 25px;
    color: #6C757D;
}

.register-link a {
    color: #4A6FA5;
    text-decoration: none;
    font-weight: 600;
}

.social-login {
    text-align: center;
    margin-top: 30px;
    color: #6C757D;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6C757D;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.social-icon:hover {
    background: #4A6FA5;
    border-color: #4A6FA5;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.success {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 30px 25px;
    }
    .remember-forgot {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 20px;
    }
    .input-field input {
        padding: 12px 12px 12px 45px;
    }
}