/* ---------- New wrapper + image styles ---------- */
.expo-wrapper {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 40px);
}

.image-container {
    width: 50%;
    height: 100%;
    overflow: hidden;
    display: block;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ---------- Original CSS (preserved and adjusted) ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFF;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    padding: 30px;
    width: 50%;
    max-width: none;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.form-title {
    font-size: 22px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 25px;
    color: #e60000; /* Match the red color from the poster */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e20613;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    background: white;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #e20613;
}

.dropdown-container {
    position: relative;
}

.dropdown-button {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    background: white;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s ease;
}

.dropdown-button:focus {
    outline: none;
    border-color: #e20613;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #999;
    transition: transform 0.3s ease;
}

.dropdown-button.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.dropdown-search {
    padding: 10px 15px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.dropdown-search:focus {
    outline: none;
}

.dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.radio-group {
    margin-top: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.radio-item input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #e20613;
}

.radio-item label {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}

.dropdown-options {
    font-size: 12px;
    color: #666;
    margin-left: 20px;
    line-height: 1.2;
}

.register-button {
    width: 100%;
    padding: 15px;
    background-color: #e20613;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-button:hover {
    background-color: #c60512;
}

.register-button:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
    padding: 16px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

.toast .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 15px;
    padding: 0;
    line-height: 1;
}

.toast .close-btn:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .expo-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .image-container,
    .form-container {
        width: 100%;
        height: auto;
    }

    .image-container img {
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .form-container {
        padding: 20px;
        margin: 10px;
        max-width: 100%;
    }

    .form-title {
        font-size: 20px;
    }

    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .form-container {
        max-width: 450px;
    }
}

@media (min-width: 1025px) {
    /* No change here so .form-container remains 50% */
}