/* ===== Popup Overlay ===== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* ===== Popup Container ===== */
.popup-content {
    background-color: white;
    max-width: 400px;
    width: 90%;
    min-height: 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;   /* 🔑 */
}

/* ===== Red Ribbon Header ===== */
.popup-header {
    background-color: #4ea987;
    color: white;
    padding: 12px 16px;
    font-weight: 600;
}

/* ===== Popup Body ===== */
.popup-body {
    flex: 1;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== Enhanced Button ===== */
.popup-alert-button {
    display: inline-block;
    align-self: center;
    width: auto;

    margin-top: 25px;
    padding: 10px 22px;

    background: linear-gradient(135deg, #63c7a0, #4ea987);
    color: white;

    border: none;
    border-radius: 6px;

    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(87, 184, 148, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.popup-alert-button:hover {
    background: linear-gradient(135deg, #6fd3ac, #57b894);
    box-shadow: 0 6px 14px rgba(87, 184, 148, 0.45);
    transform: translateY(-1px);
}

.popup-alert-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(87, 184, 148, 0.35);
}
