/* Popup Overlay */
#teng-popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Popup Content Box */
#teng-popup-content {
    background: #ffffff;
    padding: 30px 40px;
    border: 3px solid #8BC34A;
    border-radius: 5px;
    max-width: 800px;
    width: 100%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

/* Close Button */
#teng-popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 30px;
    font-weight: bold;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}
#teng-popup-close:hover {
    color: #333;
}

/* Typography */
#teng-popup-content h4 {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}
#teng-popup-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 1em 0;
}
#teng-popup-content a {
    color: #0073aa;
}
.thp-intro-text {
    margin-bottom: 30px !important;
}

/* Layout */
.thp-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}
.thp-column {
    flex: 1;
}
.thp-column:first-child {
    border-right: 1px solid #eeeeee;
    padding-right: 40px;
}
.thp-footer {
    border-top: 1px solid #eeeeee;
    margin-top: 25px;
    padding-top: 25px;
    text-align: center;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    #teng-popup-content {
        padding: 25px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .thp-columns {
        flex-direction: column;
        gap: 20px;
    }
    .thp-column {
        width: 100%;
    }
    .thp-column:first-child {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eeeeee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}