@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');
@import url('https://hds.hub24.com.au/dist/themes/common.css');
@import url('https://hds.hub24.com.au/dist/themes/hub.css');


body {
    margin: 0;
    padding: 0;
    font-family: var(--hds-font-application-fontFamily, Inter);
    font-weight: var(--hds-font-weight-Regular, 400);
    line-height: 140%;
    overflow-x: hidden;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'cv11' on;
}

.gradient-bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(260deg, #283D84 28.21%, #223471 70.41%, #223370 75.31%, #1E2D63 84.3%);
}

.bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: url('../imgs/index-bgd-img.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    z-index: 0;
}

.logo-container img {
    height: 91px;
    width: 309px;
}

.headline {
    color: var(--hds-color-fg-inverse, #FFF);
    font-feature-settings: 'cv11' on;
    font-family: var(--hds-font-application-fontFamily, Inter);
    font-size: var(--hds-font-size-display-3, 38px);
    font-style: normal;
    font-weight: var(--hds-font-application-display-weight-default, 400);
    line-height: 140%;
}

@media (min-width: 1600px) {
    .bg-shape {
        background-size: auto 100%;
    }
}

.rotate-345 {
    transform: rotate(345deg);
}

.rotate-15 {
    transform: rotate(15deg);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.shadow-level-2 {
    box-shadow: 0px 4px 16px 0px rgba(41, 46, 55, 0.2);
}

.shadow-level-3 {
    box-shadow: 0px 16px 32px 0px rgba(41, 46, 55, 0.2);
}

/* Modal styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-message {
    color: #292e37;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
    text-align: center;
}

.modal-button {
    width: 100%;
    padding: 12px 24px;
    background-color: #007cbc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-button:hover {
    background-color: #00669d;
}

/* Responsive styles */
@media (max-width: 1500px) {
    .main-container {
        flex-direction: column !important;
        gap: 48px !important;
        padding: 48px 32px !important;
        height: auto !important;
        min-height: 100vh;
    }
    
    .left-content {
        width: 100% !important;
        max-width: 600px !important;
        height: auto !important;
    }
    
    .logo-container {
        width: 400px;
    }
    
    .description {
        width: 100% !important;
    }
    
    .decorative-elements {
        display: none !important;
    }
}

@media (max-width: 1280px) {
    .main-container {
        padding-left: 64px;
        padding-right: 64px;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .main-container {
        padding-left: 40px;
        padding-right: 40px;
        height: auto;
        min-height: 100vh;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .bg-shape {
        background-size: cover;
        background-position: right top;
    }

    .decorative-elements {
        display: none;
    }

    .left-content {
        max-width: 600px;
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 32px 24px !important;
    }

    .left-content {
        gap: 32px !important;
    }

    .logo-container {
        width: 200px !important;
    }

    .headline {
        font-size: 24px !important;
        width: 100% !important;
    }

    .description {
        font-size: 16px !important;
        width: 100% !important;
    }

    .form-row {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .email-input-container,
    .code-input-container {
        max-width: 100% !important;
    }

    .cta-button,
    .verify-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .left-content {
        gap: 24px !important;
    }

    .logo-container {
        width: 180px !important;
    }

    .headline {
        font-size: 24px !important;
    }

    .description {
        font-size: 15px !important;
    }

    input {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }

    .privacy-text {
        font-size: 12px !important;
    }
}

