:root {
    --primary: #1f5aa3ff !important;
    /* lapis-lazuli */
    --secondary: #1774b0ff !important;
    /* ucla-blue */
    --accent: #7fff00ff !important;
    /* chartreuse */
    --neutral: #ebebecff !important;
    /* antiflash-white */
    --text-color: #000000ff !important;
    /* black */
    --bg-gradient: linear-gradient(
        to bottom,
        rgba(10, 93, 54, 0.9),
        rgba(50, 171, 132, 0.8)
    );
    --primary-light: #6366f1;
    --dark: #1e293b;
    --light: #f8fafc;
    --danger: #ef4444;
    --success: #10b981;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --border-radius: 12px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    background: var( --bg-gradient);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

.container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.content-panel {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content-panel::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.content-panel::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    z-index: 1;
}

.logo img {
    height: 40px !important;
}

.features {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 1;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

.auth-container {
    flex: 1;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.animated-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, 0.1) 0%,
        rgba(99, 102, 241, 0.1) 100%
    );
    animation: float 8s ease-in-out infinite;
    z-index: -1;
}

.animated-circle.left {
    top: -150px;
    left: -150px;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.tabs {
    width: 100%;
    margin-bottom: 2rem;
}

.tabs-header {
    display: flex;
    margin-bottom: 1.5rem;
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tab-button {
    flex: 1;
    padding: 0.8rem;
    text-align: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tabs-content {
    display: none;
}

.tabs-content.active {
    display: block;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.input-field {
    position: relative;
}

.input-field i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.input-field input,
.input-field select {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-field input:focus,
.input-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.phone-input-container {
    display: flex;
    width: 100%;
}

.country-code-select {
    width: 35%;
    padding: 0.8rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background-color: var(--gray-100);
    font-size: 0.95rem;
}

.phone-input {
    width: 65%;
    border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
    border-left: none !important;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.btn {
    display: block;
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--primary-light);
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    background-color: white;
    color: var(--dark);
    border: 1px solid var(--gray-300);
}

.btn-social i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    color: #ea4335;
}

.btn-social:hover {
    background-color: var(--gray-100);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--gray-400);
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--gray-300);
}

.divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
}

.forgot-password {
    text-align: right;
    margin-bottom: 1.2rem;
}

.forgot-password a {
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.text-danger {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.auth-alert {
    border-radius: var(--border-radius);
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.auth-alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.auth-alert-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.input-field input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        height: auto;
        max-height: 95vh;
        overflow-y: auto;
    }

    .content-panel {
        flex: 0 0 auto;
        padding: 1.5rem;
    }

    .features {
        display: none;
    }

    .feature {
        width: 48%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .auth-container {
        padding: 1.5rem;
    }

    .features {
        display: none;
    }

    .feature {
        width: 100%;
    }
}
