
    
/* ===== Reset / Base ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* ===== Basic Layout ===== */
body {
    
    font-family: Arial, sans-serif;
    margin: 0;
    color: white;

}


/* ===== Header Banner ===== */
.site-header {
    height: 290px;
    background: url("/bulletin/assets/sdachurch.jpg") center/cover no-repeat;
    position: relative;
    text-align: center;
    padding: 20px 0;
}

.site-header-2 h1 {
   margin: 0;
    border-radius: 6px;
    color: darkblue;
    font-size: clamp(28px, 5vw, 30px);
    padding: 6px 12px;
    position: relative;
    text-align: center;
    padding: 20px 0;
}


.site-header h1 {
   margin: 0;
    border-radius: 6px;
    font-size: clamp(28px, 5vw, 60px);
    padding: 6px 12px;
    position: relative;
    text-align: center;
    padding: 20px 0;
}

    .auth-buttons {
        position: absolute;
        top: 20px;
        left: 20px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        z-index: 10;   /* 👈 important */
    }



/* ===== Main Container ===== */
    .container {
        max-width: 1200px;
        margin: 0px auto;
         margin-left: 30px;
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }


/* Move current bulletin viewer toward the left */
    .current-bulletin {
        display: flex;
        justify-content: flex-start;
        margin-left: 40px;   /* adjust this number to taste */
    }

/* Size of the PDF viewer */
    .current-bulletin iframe,
    .current-bulletin embed {
        width: 84px;   /* about 4 inches */
        height: 88px;  /* about 3 inches */
        border: 10px solid black;
    }


/* ===== Buttons ===== */
    .btn {
        display: inline-block;
        padding: 10px 16px;
        margin: 6px 4px 6px 0;
        border-radius: 8px;
        background: #2563eb;
        color: white;
        text-decoration: none;
        border: none;
        cursor: pointer;
        font-size: 15px;
    }

btn-purple{
        display: inline-block;
        padding: 10px 16px;
        margin: 6px 4px 6px 0;
        border-radius: 8px;
        background: purple;
        color: white;
        text-decoration: none;
        border: none;
        cursor: pointer;
        font-size: 15px;
    }

  .btn-purple:hover {
        background: blue;
        color: red;
    }

    .btn:hover {
        background: #fe40af;
    }

    .btn:disabled {
        background: #94a3b8;
        cursor: not-allowed;
    }

    .btn-home {
        display: inline-block;
        padding: 10px 16px;
        margin-right: 10px;
        margin-bottom: 10px;
        text-decoration: none;
        border-radius: 6px;
        font-size: 16px;
        font-weight: bold;
        background: green;
        color: yellow;
        border: none;
        cursor: pointer;    
        transition: 0.2s ease;
    }


/* Home button */
    .btn-home:hover {
        background: blue;
    }

/* danger button */
    .btn-danger {
        display: inline-block;
        padding: 10px 16px;
        margin: 6px 4px 6px 0;
        border-radius: 8px;
        background: red;
        color: white;
        text-decoration: none;
        border: none;
        cursor: pointer;
        font-size: 15px;
    }

    .btn-danger:hover {
        background: blue;
        color: white;
    }

    .file-name {
        margin-top: 10px;
        font-weight: bold;
        font-style: italic;
        color: #2e7d32;   /* calm church-style green */
    }


/* ===== Popup Overlay ===== */
/* Popup notification box    */
#popup {
    position: fixed;
    top: 20px;
    right: 20px;                 /* ← move to RIGHT side */
    left: auto;                  /* ← prevent centering */
    background: #2e7d32;         /* solid green success color */
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    font-size: 15px;
    max-width: 320px;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Error version (if you use one) */
    #popup.error {
        background: #c62828;
    }

/* ===== Trash Viewer Popup ===== */

    #viewerOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 999;
    }

    #viewerPopup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 85%;
        background: #fff;
        border-radius: 10px;
        padding: 15px;
        z-index: 1000;
        box-shadow: 0 0 25px rgba(0,0,0,0.4);
    }


/* Two-column admin layout */
    .two-column {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

/* Left side: bulletin viewer */
    .left-panel iframe {
        width: 84px;      /* ~4 inches */
        height: 88px;     /* ~3 inches */
        border: 1px solid #ccc;
        background: #fff;
    }

/* Right side: controls */
    .right-panel {
        max-width: 1400px;
    }

/* Make layout stack nicely on small screens */
    @media (max-width: 1600px) {
        .two-column {
        flex-direction: column;
        }
        .site-header {
        height: 690px;
        }
    }
    
/* ===== Animation ===== */
    @keyframes popupFade {
        from {
            opacity: 0;
            transform: scale(0.92);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

/* ===== Table Styling ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    color: black;
    background: yellow;
}

th,
td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    color: black;
    font-size: 14px;  /* mobile friendly */
}

th {
    background: #f1f3f5;
    font-weight: bold;
}

/* File links */
td a {
    color: #1565c0;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

/* ===== Mobile Friendly ===== */

}

