/* Custom CSS for Mavip Admin Login Page - Pixel Perfect */

* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background-color: #f5f5f5;
}

/* Top Header */
.top-header {
    background-color: #f5f5f5;
    padding: 8px 0;
    text-align: center;
}

.header-text {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Main Content with Gradient Background */
.main-content {
    background: linear-gradient(135deg, #dc2626 0%, #3b4484 100%);
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Logo Section */
.OuterLogo {
    background-color: white;
    width: 100%;
}

.logo-section {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
    width: 100%;
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.563);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Login Container */
.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
}

/* Login Card */
.login-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    position: relative;
}

/* Auth Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
    margin-bottom: 32px;
    text-align: center;
    line-height: 1.4;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    font-size: 14px;
    z-index: 2;
}

.form-control {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 16px;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    z-index: 2;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #6b7280;
}

/* Forgot Password Link */
.forgot-password-wrapper {
    text-align: right;
    margin-bottom: 24px;
}

.forgot-password-link {
    color: #dc2626;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

/* Back to Login Link */
.back-to-login-wrapper {
    text-align: center;
    margin-top: 20px;
}

.back-to-login-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-login-link:hover {
    color: #dc2626;
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    background: #dc2626;
    border: none;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.login-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

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

/* Trusted Section */
.trusted-section {
    background-color: #ffffff;
    padding: 40px 20px;
    margin: 0 40px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trusted-content {
    text-align: center;
    /* max-width: 800px; */
    margin: 0 auto;
}

.trusted-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 24px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}

.logo-item:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.logo-item svg {
    transition: transform 0.3s ease;
}

.logo-item:hover svg {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-section {
        top: 0px;
        left: 0px;
        z-index: 10;
        width: 100%;
        padding: 15px 30px;
    }

    .logo-text {
        font-size: 20px;
    }

    .login-container {
        margin-top: 30px;
        padding: 50px 15px 15px;
    }

    .login-card {
        padding: 30px 25px;
        margin: 0 10px;
    }

    .form-title {
        font-size: 22px;
    }

    .trusted-section {
        margin: 0 20px 20px;
        padding: 30px 15px;
    }

    .trusted-logos {
        gap: 30px;
    }

    .logo-item {
        width: 50px;
        height: 50px;
    }

    .logo-item svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .header-text {
        font-size: 11px;
    }

    .login-card {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-subtitle {
        font-size: 13px;
    }

    .trusted-logos {
        gap: 20px;
    }

    .logo-item {
        width: 45px;
        height: 45px;
    }

    .logo-item svg {
        width: 28px;
        height: 28px;
    }

    .trusted-section {
        margin: 0 15px 15px;
        padding: 25px 15px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeIn 0.6s ease-out;
}

/* Form Transition Animation */
.auth-form {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-form:not(.active) {
    opacity: 0;
    transform: translateX(-20px);
}

.auth-form.active {
    opacity: 1;
    transform: translateX(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

