* {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    background: linear-gradient(135deg, #30e0ff 0%, #4618b3 100%) !important;
    min-height: 100vh !important;

    margin: unset;
}

main {
    padding: 20px !important;
    width: 100vw;
    height: 100vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-image: url("https://newlms.fefdygo.com/assets/images/backgrounds/login_bg_2.png");
    background-size: 200px;
}

.lms-auth-container {
    width: 100% !important;
    max-width: 440px !important;
}

.auth-card {
    background: white !important;
    border-radius: 16px !important;
    padding: 48px 40px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.auth-header {
    text-align: center !important;
    margin-bottom: 32px !important;
}

.auth-header h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

.auth-header p {
    font-size: 15px !important;
    color: #6b7280 !important;
    line-height: 1.5 !important;
}

.auth-form {
    animation: fadeIn 0.3s ease-in !important;
}

@keyframes fadeIn {
    from {
        opacity: 0 !important;
        transform: translateY(10px) !important;
    }

    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

.form-group {
    margin-bottom: 20px !important;
}

.form-group label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 8px !important;
}

.form-group input {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    outline: none !important;
    transition: all 0.2s !important;
    font-family: inherit !important;
}

.form-group input:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.form-group input::placeholder {
    color: #9ca3af !important;
}

.btn {
    width: 100% !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-family: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.btn:active {
    transform: translateY(1px) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    margin-bottom: 20px !important;
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
    transform: translateY(-1px) !important;
}

.btn-primary:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.btn-google {
    background: white !important;
    color: #1a1a1a !important;
    border: 2px solid #e5e7eb !important;
}

.btn-google:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
}

.divider {
    display: flex !important;
    align-items: center !important;
    margin: 24px 0 !important;
    color: #9ca3af !important;
    font-size: 14px !important;
}

.divider::before,
.divider::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: #e5e7eb !important;
}

.divider span {
    padding: 0 16px !important;
}

.auth-switch {
    text-align: center !important;
    margin-top: 24px !important;
    font-size: 14px !important;
    color: #6b7280 !important;
}

.auth-switch a {
    color: #667eea !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s !important;
}

.auth-switch a:hover {
    color: #764ba2 !important;
}

.signup-number{
    position: relative;

}

.signup-number i{
    position: absolute;
    bottom: 15px;
    right: 10px;
    color:#00a300;
}

.message {
    margin-top: 16px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    text-align: center !important;
    display: none !important;
    animation: slideDown 0.3s ease-out !important;
}

@keyframes slideDown {
    from {
        opacity: 0 !important;
        transform: translateY(-10px) !important;
    }

    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

.message.show {
    display: block !important;
}

.message.error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

.message.success {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
}

.message.info {
    background: #eff6ff !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px !important;
    }

    .auth-header h1 {
        font-size: 24px !important;
    }

    .auth-header p {
        font-size: 14px !important;
    }
}