/* File: modules/symptom-tracker/public/css/symptom-popup.css */

/* Parent modal container */
.ma-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Iframe wrapper */
.ma-iframe-wrapper {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 90%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ma-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Parent "X" close button (#ma-close-modal) */
#ma-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #555;
    cursor: pointer;
    border: none;
    background: none;
}

/* Red "Don't Show Again" button */
.dont-show-again-btn {
    padding: 10px 20px;
    background: #d9534f;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}
.dont-show-again-btn:hover {
    background: #c9302c;
}

/* Generic popup-button (blue) for child "Close" */
.popup-button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.popup-button:hover {
    background: #005f8d;
}

/* Hide WP admin bar if user is admin */
#wpadminbar,
html.wp-toolbar {
  display: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
