/* Auth popup specific styles */
.auth-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.auth-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 1100px;
    max-width: 95%;
    height: auto;  /* Changed from fixed height to auto */
    min-height: 550px; /* Minimum height instead of fixed */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    overflow: hidden; /* Prevent content overflow */
}

.auth-left {
    background-color: #ffffff;
    border-radius: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Allow scrolling if needed */
}

.auth-logo {
    font-size: 24px;
    font-weight: bold;
}

.auth-body {
    font-size: 16px;
}

.auth-testimonial {
    font-size: 24px;
    font-weight: bold;
}

.auth-right {
    padding: 0; /* Remove padding for image */
    position: relative;
    height: 100%; /* Fill height of parent */
    overflow: hidden; /* Hide overflow for image */
}

/* Add this to make the popup-content fit properly */
.popup-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: var(--tertiary-color);
}

.testimonial {
    height: 160px;
    position: relative;
    margin-bottom: 20px;
}

.testimonial-item {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    width: 100%;
    font-size: 17px;
    color: white;
    line-height: 1.4;
    visibility: hidden;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.auth-subtitle {
    font-size: 14px;
    color: var(--tertiary-color);
    margin-bottom: 24px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form .form-group {
    margin-bottom: 15px;
}

.auth-button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .auth-content {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .auth-left {
        display: none;
    }
}

/* Update these styles in auth-popup.css */
.popup#authPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup#authPopup .auth-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 1200px;  /* Increased width */
    max-width: 95%;
    min-height: 550px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    overflow: hidden;
}