/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #f0fdf4;
}

.container-custom {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* Slideshow Column */
.slideshow-col {
    background-color: #2a2a2a;
    position: relative;
    padding: 0;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Slides */
.mySlides {
    display: none;
    width: 100%;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slideshow Text Overlay */
.text-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
}

.text-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 16px;
}

/* Form Column */
.form-col {
    background-color: #e7fff9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* Toggle Password Button Styling */
.toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password-btn img {
    width: 20px;
    height: 20px;
}

.toggle-password-btn:focus {
    outline: none;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slideshow-col {
        display: none;
    }

    .form-col {
        padding: 20px;
    }

    .text-content h1 {
        font-size: 18px;
    }

    .text-content p {
        font-size: 14px;
    }

    .form-col form {
        padding: 20px;
    }

    /* Adjust toggle button position for smaller screens */
    .toggle-password-btn {
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Additional Styling for Form */
.form-label {
    font-weight: 500;
}

.btn-create-account {
    background-color: #001534;
    border: none;
    color: white;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-create-account:hover {
    background-color: #002c5a;
}

.signup-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.signup-link a {
    color: #1b9c6e;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Password Strength Meter */
#passwordStrength {
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

#passwordStrength .progress-bar {
    transition: width 0.3s;
}

/* Positioning relative for input-group */
.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding-right: 40px;
    /* Space for toggle button */
}

/* Password Strength Label */
#passwordStrengthLabel {
    font-weight: bold;
}

/* -- Icon for new tab -- */

.checkbox-group a.terms-link {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}



.external-link-icon {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
}



.checkbox-group a.terms-link:hover .external-link-icon {
    opacity: 0.8;
}

/* ────────────────────────────────────────────────
       1. “Create Account” → red while disabled
       ────────────────────────────────────────────────*/
.btn-create-account:disabled,
.btn-create-account[disabled] {
    cursor: not-allowed;
    opacity: .85;
    /* keep label readable */
}

/* ────────────────────────────────────────────────
       2. OTP modal buttons use #28454e
       ────────────────────────────────────────────────*/
#otpNextBtn.btn-primary,
#otpVerifyBtn.btn-primary {
    background-color: #28454e !important;
    border-color: #28454e !important;
}

#otpNextBtn.btn-primary:hover,
#otpVerifyBtn.btn-primary:hover {
    background-color: #203842 !important;
    /* a shade darker on hover */
    border-color: #203842 !important;
}

/* shrink the selector so it matches the mock‑up */
#dialSelect {
    padding-right: 2.25rem;
}

/* room for ▼ arrow */
#dialSelect option {
    background-color: #fff;
}

/* keep options clean */

/* Fix ITI dropdown bullets & ensure proper layout inside modal */
/* --- intl-tel-input fixes (signup) --- */
.iti {
    width: 100%;
}

.iti .iti__flag-container {
    display: block !important;
}

.iti .iti__country-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.iti input[type="tel"],
.iti input#phoneInput {
    padding-left: 3rem !important;
}

/* room for flag */
.iti--container {
    z-index: 1070 !important;
}

/* above Bootstrap modal */
