body, html {
    margin: 0;
    height: 100%;
}

.image-section {
    background: linear-gradient(210deg, #7353f6 0%, #ddb4f5 100%);
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: white;
    overflow: hidden;
    padding: 0;  
}

.form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 90px;
    max-width: 26%;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 0;
    position: relative;
    right: 0;
}


.icon-container img {
    width: 39px;
    height: auto;
}

.otp-input {
    margin-right:5px;
    width: 43px !important;
    height:auto!important;
    background: transparent;
    border: 1px solid white;
    color: white;
    text-align: center;
    outline: none;
    padding: 8px;
    border-radius: 10px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
    
}

a {
    color: lightblue;
    text-decoration: none;
}
 .no-wrap-text {
white-space: nowrap; /* Prevents text from wrapping */
}

/* Standard desktop screens (1440px to 1919px) */
@media screen and (min-width: 1440px) and (max-width: 1919px) {

.otp-input {
    width: 40px;
}
}

/* Laptops with large screens (1280px to 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
.form-container {
    max-width: 22%;
    margin-right: 45px;
}

.otp-input {
    width: 35px;
}
}

/* Smaller laptops (1024px to 1279px) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
.form-container {
    max-width: 25%;
    margin-right: 20px;
}

.otp-input {
    width: 30px;
}
}

/* Tablets and smaller laptops (768px to 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
.form-container {
    max-width: 40%;
}

.otp-input {
    width: 25px;
}
}

/* Mobile views (Below 768px) */
@media screen and (max-width: 767px) {
.image-section {
    background-size: cover;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: top center;
}

.form-container {
    margin-top:150px !important ;
    max-width: 90%;
    margin-right: 0;
    padding: 20px; /* Reduced padding for small screens */
}

.otp-input {
    width: 100%;
}
}
/* Mobile views (375px) */
@media screen and (max-width: 375px) {
    
    .otp-input {
        width: 100%;
    }
}

/* Mobile views (360px) */
@media screen and (max-width: 360px) {
    .form-container {
        max-width: 90%;
        margin-right: 0;
        margin-right: 0;
        height: 40rem;
        margin-bottom: 18rem;
        justify-content: center;
    }

    .otp-input {
        width: 100%;
    }
}

/* Mobile views (540px) */
@media screen and (max-width: 540px) {
    .form-container {
        max-width: 85%;
        margin-right: 0;
        height: 40rem;
        margin-bottom: 18rem;
        justify-content: center;
    }

    .otp-input {
        width: 100%;
    }
}
.p{
    font-size: 25px;
    color:#ffffff;
    font-style: italic;
}

/* Add these styles for the registration modal */
.swal2-input {
    margin: 10px 0;
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.swal2-select {
    margin: 10px 0;
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.registration-form {
    padding: 10px;
}

.registration-form .swal2-input {
    margin: 10px 0;
    width: 100%;
}

.registration-form .swal2-input::placeholder {
    color: #999;
}

.registration-form select.swal2-input {
    color: #555;
}

.registration-form select.swal2-input option:first-child {
    color: #999;
}

.registration-popup {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: none; /* Hidden by default */
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important; /* Ensure it's above other elements */
    backdrop-filter: blur(5px);
}

.registration-popup[style*="display: flex"] {
    display: flex !important;
}

.popup-content {
    background: white !important;
    padding: 2.5rem !important;
    border-radius: 15px !important;
    width: 90% !important;
    max-width: 400px !important;
    position: relative !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    animation: slideIn 0.3s ease-out !important;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-title {
    color: #7353f6;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.popup-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

select.popup-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

select.popup-input:focus {
    border-color: #7353f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(115, 83, 246, 0.1);
}

/* Style for disabled/readonly inputs */
.popup-input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.popup-submit {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(210deg, #7353f6 0%, #ddb4f5 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.popup-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(115, 83, 246, 0.3);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #333;
}

@media screen and (max-width: 480px) {
    .popup-content {
        width: 95%;
        padding: 1.5rem;
        margin: 0 15px;
    }
    
    .popup-title {
        font-size: 1.25rem;
    }
    
    .popup-input {
        padding: 0.6rem;
    }
}

/* Remove all registration popup related styles and add this new style */
.register-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
    padding: 10px 20px;
    background: #7353f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #5b3ed9;
    transform: translateY(-2px);
    color: white;
}