@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap');

body {
    font-family: 'Figtree';
    padding: 0 !important;
    margin: 0 !important;
}

/* Main container with 24px padding on all sides */
.main-container {
    padding: 24px !important;
}

/* Remove all body padding */
body.bg-gray-50 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Get Started Section - reduce spacing */
.main-container > div:first-of-type {
    margin-bottom: 1.5rem !important;
}

/* Login Options - reduce spacing */
.space-y-3 {
    margin-bottom: 1.5rem !important;
}

.space-y-3 > * + * {
    margin-top: 0.5rem !important;
}

/* Or Divider - reduce spacing and make line black */
.relative.mb-6 {
    margin-bottom: 1.5rem !important;
}

.relative.mb-6 .border-t {
    border-color: #000000 !important;
}

/* Add gray-100 background to "or" text */
.relative.mb-6 .relative span {
    background-color: #f3f4f6 !important;
}

/* WhatsApp button - reduce bottom margin and match other button styling */
.whatsapp-button {
    margin-bottom: 1.5rem !important;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
}

.whatsapp-button:hover {
    background-color: #f9fafb !important;
}

.whatsapp-button .button-content span {
    color: #374151 !important;
    font-weight: 500 !important;
}

/* Terms section - reduce spacing and fix checkbox alignment */
.flex.items-start.mb-6 {
    margin-bottom: 1.5rem !important;
    align-items: center !important;
}

/* Fix checkbox alignment */
#terms {
    margin-top: 0 !important;
    flex-shrink: 0;
}

/* Help section - reduce spacing */
.text-center.space-y-3.mb-8 {
    margin-bottom: 1.5rem !important;
}

.text-center.space-y-3.mb-8 .space-y-3 {
    row-gap: 0.5rem !important;
}

/* Trusted By section - reduce spacing */
.main-container > div:last-child {
    margin-bottom: 0 !important;
}

.text-lg.font-semibold.text-gray-900.text-center.mb-6 {
    margin-bottom: 1rem !important;
}

/* Carousel - reduce height */
.carousel-container {
    min-height: auto !important;
}

/* Logo section - reduce spacing */
.logo-container .flex.items-center.mb-8 {
    margin-bottom: 1.5rem !important;
}

/* All login button icons will be exactly 20px x 20px */
.login-button {
    transition: all 0.2s ease-in-out;
    background-color: #ffffff !important;
}

.login-button:hover {
    background-color: #f9fafb !important;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.button-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
}

/* Ensure SVG icons maintain their aspect ratio */
.login-button svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
}

/* Ensure IMG icons maintain their size */
.login-button img {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    object-fit: contain;
}

/* Top right ellipse positioning within container */
.ellipse-container {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
}

.ellipse-image {
    width: 150px;
    height: 150px;
    top: -187px;
    left: 197px;
}

/* Logo container positioning */
.logo-container {
    position: relative;
    z-index: 10;
}

.my-heading {
    width: 60%;
}

.wide-image {
    height: 30px;
    width: 30px;
}

.logo-image {
    width: 108px;
    height: 28px;
}

/* Instagram Help Box Styling - matching other button styling with left-aligned text and full width */
.instagram-help-box {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 16px;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #374151 !important;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.instagram-help-box:hover {
    background-color: #f9fafb !important;
}

.instagram-help-box svg {
    flex-shrink: 0;
}

/* Custom checkbox styling */
#terms:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

/* Link hover effects with specific color for Submit Query */
.help-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

/* Submit Query link color */
.help-link:first-child {
    color: #B54B00 !important;
}

/* REMOVE ALL FOCUS OUTLINES AND BLUE BORDERS */
button:focus,
input:focus,
select:focus,
a:focus,
#terms:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove tap highlight on mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

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

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

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

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 200%;
    transition: transform 0.8s ease-in-out;
}

/* Carousel dot styles */
.carousel-dot {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #3b82f6 !important;
    opacity: 1;
}

/* Responsive carousel */
@media (max-width: 640px) {
    .ellipse-container {
        right: 0;
        top: 0;
    }
    
    /* Adjust button content for mobile */
    .button-content {
        gap: 8px;
    }
    
    .button-icon {
        width: 18px !important;
        height: 18px !important;
    }
    
    .login-button svg,
    .login-button img {
        width: 20px !important;
        height: 20px !important;
    }
    
    .instagram-help-box {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .max-w-xl {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .space-x-6 > * + * {
        margin-left: 1rem;
    }
    
    .help-link {
        font-size: 0.75rem;
    }
}

/* SPECIFIC BUTTON STYLING OVERRIDES */

/* Google Button - Custom styled to match Apple */
.custom-google-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    min-height: 44px !important;
}

.custom-google-button:hover {
    background-color: #f9fafb !important;
}

.custom-google-button .button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.custom-google-button .button-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
}

.custom-google-button span {
    color: #374151 !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
}

/* Remove focus outline */
.custom-google-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Hide the default Google Sign-In button */
.g_id_signin {
    display: none !important;
}

/* Apple Button - Ensure same size as other icons */
.apple-button .button-icon {
    width: 20px !important;
    height: 20px !important;
    color: #000;
}

.apple-button svg {
    width: 20px !important;
    height: 20px !important;
}

/* Instagram Button - Match font size and weight with Google button */
.instagram-button .button-content span {
    font-size: 1rem !important;
    font-weight: 500 !important;
}

.instagram-button .button-icon {
    width: 20px !important;
    height: 20px !important;
}

/* YouTube Button - Match font size and weight with Google button */
.youtube-button .button-content span {
    font-size: 1rem !important;
    font-weight: 500 !important;
}

.youtube-button .button-icon {
    width: 20px !important;
    height: 20px !important;
}

/* WhatsApp Button */
.whatsapp-button .button-icon {
    width: 20px !important;
    height: 20px !important;
    color: #25D366;
}

/* Additional styling for button text consistency */
.login-button span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure all buttons have consistent height - reduced */
.login-button {
    min-height: 36px !important;
}

/* For smaller buttons (Instagram/YouTube) ensure proper alignment - reduced */
.instagram-button,
.youtube-button {
    min-height: 44px !important;
}

.instagram-button .button-content,
.youtube-button .button-content {
    justify-content: center;
    align-items: center;
}

/* Compact text sizing */
.text-xl {
    font-size: 1.15rem !important;
}

.text-sm {
    font-size: 0.8rem !important;
}

.text-xs {
    font-size: 0.7rem !important;
}

/* Reduce carousel "and thousands" text spacing */
.text-center.text-sm.text-gray-500.mt-4 {
    margin-top: 0.75rem !important;
}