/* --- Core Styling --- */
:root {
    --color-gold-dark: #93754a;
    --color-gold-medium: #c9b08c;
    --color-gold-light: #b9a382;
    --color-gold-accent: #8d6d3f;
    --color-background: #f8f8f8;
    --color-text-light: #ffffff;
    --color-sub-head: #cccccc;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Brush Script MT', cursive; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- CRITICAL HEIGHT FIX: Flexbox on Body --- */
html, body {
    height: 100%; 
}

body {
    font-size: 16px;
    background-color: var(--color-background);
    font-family: var(--font-body);
    
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

.main-body {
    background: var(--color-background) url('../images/Background.png') top center no-repeat;
    background-size: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- FIXED: GOLD STRIP STYLING (.main-top) --- */
.main-top {
    width: 100%;
    /* Use client's specific design for height and padding */
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    
    background: linear-gradient(to right, #b9a382, #d6bf9e, #b59668, #ceba9b, #927d5e, #b9a382, #a58f6f, #a38963, #b39e7d, #967748, #b9a382, #847053, #b59668, #c9b79c, #927d5e, #b9a382, #d2bb99, #b9a382, #d0bfa4, #967748);
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    font-size: .875em;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0px;
    font-family: var(--font-body);
}

/* Style the link inside the gold strip to be visible */
.main-top a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
    margin-left: 3px;
}

/* Logo Styling (Now applied to the <img> tag) */
.site-logo {
    display: block;
    max-width: 50%; 
    height: auto;
    margin: 20px auto 0;
    padding: 20px 0;
}

/* --- Scroll Prompt Styling --- */
.scroll-prompt-container {
    text-align: center;
    margin-top: -30px; 
    margin-bottom: 20px;
    padding: 10px 0;
}

.scroll-text {
    color: var(--color-sub-head); 
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 400;
    margin-bottom: 5px;
}

.scroll-arrow {
    color: var(--color-sub-head); 
    font-size: 10px;
    animation: bounce 2s infinite; 
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* --- GRID STYLING --- */
.main-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-template-rows: repeat(4, 1fr); 
    max-width: 100vw;
    
    flex-grow: 1; 
    
    min-height: 800px;
    gap: 10px; 
    padding-left: 5px;
    padding-right: 5px;
}

.grid-tile {
    height: 100%; 
    position: relative;
    cursor: pointer;
    box-shadow: 0px 0px 2px 2px rgba(100,100,100,0.2);
    transition: all 0.3s;
}

/* Hover shadow */
.grid-tile:hover {
    box-shadow: 0px 0px 15px 20px rgb(191 169 136); 
    z-index: 5;
}

/* --- IMAGE STYLING (Guarantees image covers the tile) --- */
.tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; 
}

/* --- Pop-up Modal Styling (New Section) --- */
.main-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    display: none; /* CRUCIAL: Hidden by default; will be shown with JavaScript */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top of everything */
    padding: 20px;
    align-content: center;
}

/* Modal container styling (the actual box with the content) */
.main-popup .container {
    max-width: 60%; 
    max-height: 90vh;
    width: 100%;
    padding: 0;
    background: #ffffff url('../images/popup.png') center center no-repeat;
    background-size: cover;
    
    border-radius: 8px;
    overflow-y: auto;  /* Keep this here to clip content outside the box corners */
    position: relative; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    
    /* CRITICAL: Use flexbox to enable inner scrolling */
    display: flex;
    flex-direction: column;
}

/* New rule for the scrollable content area */
.modal-content-scroll {
    /* Use padding to create space inside the scroll area */
    padding: 20px; 
    
    /* The core fix: Allow vertical scrolling */
    overflow-y: auto; 
    
    /* This allows the content area to take up the available height */
    flex-grow: 1; 
}

/* Styling for the close button/click prompt */
.main-popup .close-prompt {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 10px;
}

/* --- Responsive Design Adjustments --- */
@media only screen and (max-width: 992px) {
    /* FIX: Make logo 100% wide on mobile */
    .site-logo {
        max-width: 100%; 
    }
    
    .main-grid-container { 
        grid-template-rows: auto; 
        min-height: auto; 
        height: auto; 
    }
    .grid-tile { 
        min-height: 300px; 
    }
    
    /* Mobile hover glow */
    .grid-tile:hover {
        box-shadow: 0px 0px 30px 10px rgb(191 169 136); 
    }

    .logo-script { font-size: 12vw !important; }
    .content-top { font-size: 5vw !important; }
    .content-center { font-size: 7vw !important; }
    .content-bottom { font-size: 3vw !important; }
    .content-center-small, .content-bottom-small, .tile-11 .text-overlay { font-size: 2.5vw !important; }
}

@media only screen and (max-width: 576px) {
    /* FIX: Make logo 100% wide on smaller mobile */
    .site-logo {
        max-width: 95%; 
    }

    .small-mobile {
        font-size: .675em;
    }
    
    .main-grid-container { 
        height: auto; 
    }
    .grid-tile { 
        min-height: 200px; 
    }
    
    .logo-script { font-size: 18vw !important; }
    .content-top { font-size: 8vw !important; }
    .content-center { font-size: 10vw !important; }
    .content-bottom { font-size: 5vw !important; }
    .content-center-small, .content-bottom-small, .tile-11 .text-overlay { font-size: 4vw !important; }
}

@media only screen and (max-width: 768px) {
    .main-popup .container {
        height: auto; 
        max-height: 80vh;
        margin-top: 0;
        max-width: 95%;
    }
}

.btn-spacing{
    font-size: 1.1rem !important;
    padding-bottom: 8px !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.button-ribbon {
    color: #ffffff;
    background: linear-gradient(to right, rgba(147, 117, 74, 0.0), #93754a, rgba(147, 117, 74, 0.0));
    font-size: 12px;
    text-align: center;
}

.button-ribbon.h2 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn {
    color: #ffffff !important;
    background-color: #93754a !important;
    border: none !important;
}

.btn-space{
    padding: 5px !important;
}

.text-center{
    text-align: center;
}

.text-left{
    text-align: left;
}

.text-right{
    text-align: right;
}

.small, small {
    font-size: .675em;
}

.main-popup input, .main-popup textarea {
    border: solid 1px #c9b08c !important;
    background-color: #ffffff;
}

.form-control-sm {
    min-height: calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: var(--bs-border-radius-sm);
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s 
ease-in-out, box-shadow .15s 
ease-in-out;
}

button.btn.btn-primary-outline {
    background: none !important;
    border: solid 1px #8d6d3f !important;
    color: #8d6d3f !important;
}


/* --- Custom Spacing Utility Classes (Inspired by Bootstrap) --- */

/* * Format: 
 * [Property]-[Direction]-[Size]
 * Property: m (margin), p (padding)
 * Direction: t (top), b (bottom), l (left), r (right), x (left/right), y (top/bottom), none (all)
 * Size: 0 to 5 (4px to 32px)
*/

/* --- MARGIN UTILITIES (m) --- */

.m-0  { margin: 0 !important; }
.m-1  { margin: 0.25rem !important; } /* 4px */
.m-2  { margin: 0.5rem !important; }  /* 8px */
.m-3  { margin: 1.0rem !important; }  /* 16px */
.m-4  { margin: 1.5rem !important; }  /* 24px */
.m-5  { margin: 2.0rem !important; }  /* 32px */

/* Margin Top (mt) */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1.0rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2.0rem !important; }

/* Margin Bottom (mb) */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1.0rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2.0rem !important; }

/* Margin Left (ml) */
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1.0rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 2.0rem !important; }

/* Margin Right (mr) */
.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1.0rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 2.0rem !important; }

/* Margin X-axis (mx: left and right) */
.mx-auto { margin-left: auto; margin-right: auto; } /* Useful for centering blocks */
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.mx-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.mx-3 { margin-left: 1.0rem !important; margin-right: 1.0rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 2.0rem !important; margin-right: 2.0rem !important; }

/* Margin Y-axis (my: top and bottom) */
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1.0rem !important; margin-bottom: 1.0rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 2.0rem !important; margin-bottom: 2.0rem !important; }

/* --- PADDING UTILITIES (p) --- */

.p-0  { padding: 0 !important; }
.p-1  { padding: 0.25rem !important; }
.p-2  { padding: 0.5rem !important; }
.p-3  { padding: 1.0rem !important; }
.p-4  { padding: 1.5rem !important; }
.p-5  { padding: 2.0rem !important; }

/* Padding Top (pt) */
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1.0rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 2.0rem !important; }

/* Padding Bottom (pb) */
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1.0rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 2.0rem !important; }

/* Padding Left (pl) */
.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: 0.25rem !important; }
.pl-2 { padding-left: 0.5rem !important; }
.pl-3 { padding-left: 1.0rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 2.0rem !important; }

/* Padding Right (pr) */
.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: 0.25rem !important; }
.pr-2 { padding-right: 0.5rem !important; }
.pr-3 { padding-right: 1.0rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 2.0rem !important; }

/* Padding X-axis (px: left and right) */
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1.0rem !important; padding-right: 1.0rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 2.0rem !important; padding-right: 2.0rem !important; }

/* Padding Y-axis (py: top and bottom) */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1.0rem !important; padding-bottom: 1.0rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 2.0rem !important; padding-bottom: 2.0rem !important; }


.block{
    display: block;
}

.h2-heading {
    font-family: 'Zapfino', 'Brush Script MT', cursive;
    font-size: 2rem !important;
    background: linear-gradient(to left, #b9a382, #847053, #b59668, #c9b79c, #927d5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 90px;
    margin-bottom: -20px !important;
}

.text-success, .text-warning, .text-danger, .text-info, .text-primary, .text-secondary {
    color: #c9b08c !important;
}

.get-in-touch .touch-tabs button.btn-primary.active {
    color: #8d6d3f !important;
    background: #ffffff !important;
    border: solid 1px #8d6d3f !important;
    border-bottom: none !important;
    position: relative;
    margin-bottom: -1px;
}

.get-in-touch .col {
    padding: 0px 2px !important;
}

.get-in-touch .touch-tabs button {
    border-radius: 8px 8px 0px 0px;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color);
}

.get-in-touch form {
    padding: 30px;
    border: solid 1px #8d6d3f !important;
    background: #ffffff;
}

.bg-success, .bg-warning, .bg-danger, .bg-info, .bg-primary, .bg-secondary, .btn-primary {
    background-color: #c9b08c !important;
}

.font-menu{
    font-size: 13px;
    cursor: pointer;
}

.dataTable{
    font-size: 11px !important;
}

.dataTable td{
    background: white !important;
}

.dataTables_wrapper{
    font-size: 11px !important;
}

.paginate_button{
    background: transparent !important;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 7px 3px !important;
}

.smaller{
    font-size: 10px !important;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 6px 10px !important;
    border-bottom: 1px solid #111 !important;

}

#calendar {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 10px;
}
.fc-event {
    border-width: 2px !important; 
}

.fc-header-toolbar{
        font-size: 11px !important;
    background: #c9b08c !important;
    padding: 5px !important;
    margin-bottom: 0px !important;
}

.fc .fc-button-primary{
    color: #ffffff !important;
    background-color: #93754a !important;
    border: none !important;
}

.fc-scrollgrid{
    background: #fafafa !important;
}

.fc-daygrid-event{
    cursor: pointer !important;
    background: white;
    color: #060606 !important;
    border-left: 1px solid #93754a;
}

.fc-daygrid-event-dot{
    opacity: 0 !important;
}

/* --- Schedule Info Modal Styling --- */
.schedule-popup-overlay {
    align-content: center !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1100; /* Higher than other elements/modals */
}

.schedule-popup-content {
    margin: auto !important;
    background-color: white; /* White background */
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9); /* Start slightly smaller for transition effect */
    transition: transform 0.3s ease-out;
}

/* State when modal is shown */
.schedule-popup-overlay.show .schedule-popup-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #333;
}

.schedule-header {
    color: var(--color-gold-dark);
    border-bottom: 2px solid var(--color-gold-medium);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-script); /* If you want a script font */
    font-size: 2.5rem;
}

.schedule-data-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.data-label {
    font-weight: 600;
    color: #555;
}

.data-value {
    color: #333;
    font-weight: 500;
}

.form-60{
    width: 60%;
}


.limit-note{
        max-height: 200px;
    overflow-y: auto;
}


/* --- Adjustments for the Second Modal --- */
.full-details-content {
    max-width: 650px;
    z-index: 1101;
    max-height: 90vh;
    overflow-y: auto;
}

.full-details-header {
    margin-bottom: 30px;
}

.couple-photo-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--color-gold-medium);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#couple-photo-display {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Data row width for the larger modal */
.full-details-content .schedule-data-row {
    max-width: 100%; /* Gawing mas malawak ang rows */
}

.couple-photo{
    border: 3px solid var(--color-gold-medium);
    width: 75%;
    height: 200px;
    object-fit: cover;
}


/* --- Message Blast Page Styles --- */
.message-blast-card {
    border: none;
    border-top: 5px solid var(--color-gold-dark);
}

.message-header {
    background-color: var(--color-background); /* White/Light background */
    padding: 20px 25px;
    border-bottom: 1px solid #ddd;
}

.message-header .card-title {
    color: var(--color-gold-dark);
    font-family: var(--font-body);
    font-weight: 600;
}

.recipient-list-display {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #555;
    white-space: pre-wrap; /* Para mag-break ang long list */
}

.recipient-list-display.active {
    border-color: var(--color-gold-medium);
}

.btn-gold {
    background-color: var(--color-gold-dark);
    color: var(--color-text-light);
    border: none;
    padding: 10px 0;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.preserved-text {
    white-space: pre-wrap; 
}

/* --- Checklist Page Styles --- */
.checklist-card {
    border: none;
    border-top: 5px solid var(--color-gold-dark);
}

.checklist-header {
    background-color: var(--color-background); 
    padding: 20px 25px;
    border-bottom: 1px solid #ddd;
}

.checklist-header .card-title {
    color: var(--color-gold-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.5rem !important;
}

/* Styling for Status badges */
.status-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background-color: #ffc107; /* Yellow */
    color: #333;
}

.status-completed {
    background-color: #28a745; /* Green */
    color: #fff;
}

.status-on-hold {
    background-color: #6c757d; /* Gray */
    color: #fff;
}

/* ========================================================= */
/* 1. MESSAGE THREAD CONTAINER (Overall Chat Area) */
/* ========================================================= */
.message-thread-container {
    max-height: 400px;
    min-height: 400px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #e0e0e0; /* Medyo mas softer na border */
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #fcfcfc; /* Light background para sa chat area */
}

/* ========================================================= */
/* 2. MESSAGE BUBBLE BASE STYLING */
/* ========================================================= */
.message-bubble {
    padding: 8px 12px;
    border-radius: 15px; /* Bubble shape */
    margin-bottom: 5px;
    word-wrap: break-word; 
    line-height: 1.4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); /* Nagdagdag ng konting shadow */
}

/* ========================================================= */
/* 3. ALIGNMENT AND COLOR (SENT MESSAGES - ADMIN/YOU) */
/* Gagamitin nito ang .d-flex.justify-content-end sa parent element */
/* ========================================================= */
.d-flex.justify-content-end .message-bubble {
    /* Ang background at color ay galing sa .bg-primary.text-white */
    
    /* Para mas maganda ang appearance, i-flatten ang corner malapit sa sender */
    border-top-right-radius: 2px; 
}
.bg-primary.text-white {
    background-color: #007bff !important; /* Primary blue color */
    color: white !important;
}

/* ========================================================= */
/* 4. ALIGNMENT AND COLOR (RECEIVED MESSAGES - COUPLE) */
/* Gagamitin nito ang .d-flex.justify-content-start sa parent element */
/* ========================================================= */
.d-flex.justify-content-start .message-bubble {
    /* Ang background at border ay galing sa .bg-light */

    /* Para mas maganda ang appearance, i-flatten ang corner malapit sa sender */
    border-top-left-radius: 2px; 
}
.bg-light {
    background-color: #f8f9fa !important; /* Light background color */
    border: 1px solid #e9ecef;
}

/* ========================================================= */
/* 5. TEXT STYLING (Time/Sender Name) */
/* ========================================================= */
.message-thread-container small {
    font-size: 0.8em;
    font-weight: 500;
}
/* Time Stamp inside the bubble */
.message-bubble .text-monospace {
    font-size: 0.7em !important;
    opacity: 0.8;
}
/* Color adjustment for sender name/time in admin's bubble */
.bg-primary.text-white small, .bg-primary.text-white .text-monospace {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ========================================================= */
/* 6. POPUP OVERLAY FIX (Panatilihin ang fix sa display issue) */
/* ========================================================= */
.schedule-popup-overlay.active {
    display: block !important; 
}

.justify-content-start .message-content{
    text-align: left !important;
}

.justify-content-end .message-content{
    text-align: right !important;
}

.control-text{
    font-family: 'Montserrat' !important;
    font-size: 20px !important;
}

.pull-left{
    float: left;
}

.pull-right{
    float: right;
}

.bg-green{
    color: green;
}

.bg-red{
    color: red;
}

.form-details-content {
    max-width: 370px;
    z-index: 1101;
    max-height: 90vh;
    overflow-y: auto;
}