﻿.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    width: 95%; /* Increased width */
    max-width: 1200px; /* Increased max-width */
    /* height: 90vh; */ /* Increased height to 90% of viewport height */
    /* min-height: 600px; */ /* Added minimum height */
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-popup {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    font-size: 28px; /* Increased size */
    width: 40px; /* Increased width */
    height: 40px; /* Increased height */
    line-height: 40px;
    text-align: center;
    background-color: #f0f0f0;
    border-radius: 50%;
    transition: background-color 0.3s;
}

    .close-popup:hover {
        background-color: #e0e0e0;
    }

#popup-text {
    font-size: 18px; /* Increased font size */
    line-height: 1; /* Increased line height */
    color: #333;
}

/* Custom scrollbar */
.popup-content::-webkit-scrollbar {
    width: 10px; /* Slightly wider scrollbar */
}

.popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    .popup-content::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Responsive adjustments */
@@media (max-width: 1400px) {
    .popup-content {
        width: 90%;
        max-width: 1000px;
    }
}

@@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        height: 95vh;
        padding: 20px;
    }

    #popup-text {
        font-size: 16px;
        line-height: 1.6;
        padding: 15px;
    }
}

/* Added styles for better readability */
.popup-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

    .popup-header h3 {
        font-size: 24px;
        color: #333;
        margin: 0;
    }





.read-more-btn {
    background-color: #3B76E5;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
    font-size: 14px;
}

    .read-more-btn:hover {
        background-color: #2955a8;
    }

.form-control {
    font-size: inherit;
}

.btn {
    font-size: 1.5rem;
}
.otp-section {
    margin: 25px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

    .otp-section label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #495057;
    }

    .otp-section input {
        width: 200px;
        padding: 10px 15px;
        font-size: 16px;
        border: 1px solid #ced4da;
        border-radius: 4px;
        text-align: center;
        letter-spacing: 2px;
    }

        .otp-section input:focus {
            border-color: #80bdff;
            outline: 0;
            box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
        }

.error-message {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/*   .button-section {
        margin: 25px 0;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    } */

.button-section button {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

    .btn-success:hover {
        background-color: #218838;
        border-color: #1e7e34;
    }

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

    .btn-secondary:hover {
        background-color: #5a6268;
        border-color: #545b62;
    }

.required-note {
    /*  margin-top: 15px;
        padding: 10px; */
    text-align: right;
}

    .required-note small {
        font-size: 12px;
        color: #dc3545;
    }

@@media (max-width: 768px) {
    .otp-section input {
        width: 100%;
        max-width: 200px;
    }

    .button-section {
        flex-direction: column;
    }

        .button-section button {
            width: 100%;
        }
}
