﻿.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;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #000;
    background-color: #FFA30C;
}

.rounded-3 {
    border-radius: 2rem !important;
}
