/* =========================
   VPMG PUBLIC VIEW
   ========================= */

/* Main Wrapper styling similar to other views */
.vpmg-page.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-left: 15px solid #ffffff;
    border-right: 15px solid #ffffff;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px 15px;
    position: relative;
    font-family: Arial, sans-serif;
}

/* Titles styled with the primary color #a10085 */
.vpmg-page .title-box .title,
.vpmg-page h5.fw-bold {
    color: #a10085;
    font-family: "AvenirHeavy", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.vpmg-page .title-box {
    text-align: center;
    border-bottom: 2px solid #a10085;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* Tables styled with standard coloring */
.vpmg-page .table thead.table-dark {
    background-color: #a10085 !important;
    color: white;
}

.vpmg-page .table thead.table-dark th {
    background-color: transparent !important;
    border-bottom: none;
    font-weight: bold;
}

.vpmg-page .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(161, 0, 133, 0.05); /* very light purple for striping */
}

.vpmg-page .table-hover tbody tr:hover {
    background-color: rgba(161, 0, 133, 0.1); /* light hover state */
}

/* Base button styling mimicking the site standard */
.vpmg-page .btn-vpmg-details {
    color: #ffffff;
    background-color: #a10085;
    border: none;
    border-radius: 30px;
    padding: 6px 18px;
    font-family: "AvenirHeavy", Arial, sans-serif;
    font-weight: normal;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.vpmg-page .btn-vpmg-details:hover {
    background-color: #8a0072;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(161, 0, 133, 0.2);
    color: #ffffff;
}

/* Chart sections slightly spaced and neat */
.vpmg-page .charts-section {
    background-color: #fcfcfc;
    border: 1px solid #eaeaea;
    border-radius: 15px;
    padding: 25px 15px;
    margin-top: 30px;
}

.vpmg-page .gender-table th {
    background-color: #a10085;
    color: white;
    text-align: center;
}

.vpmg-page .gender-table td {
    text-align: center;
    vertical-align: middle;
}

/* Base Modal Styling to match other elements */
#vpmgModal .modal-header {
    background-color: #a10085 !important;
    color: white;
    border-bottom: none;
}

#vpmgModal .modal-header .modal-title {
    font-family: "AvenirHeavy", Arial, sans-serif;
    font-weight: 800;
}

#vpmgModal .modal-body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

#vpmgModal .modal-body .row {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    padding-top: 8px;
    margin-bottom: 0px;
}

#vpmgModal .modal-body .row:last-child {
    border-bottom: none;
}

#vpmgModal .modal-body .fw-bold {
    color: #a10085;
}

#vpmgModal .btn-outline-primary {
    color: #a10085;
    border-color: #a10085;
    border-radius: 30px;
    transition: all 0.3s ease;
    padding: 5px 15px;
}

#vpmgModal .btn-outline-primary:hover {
    background-color: #a10085;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(161, 0, 133, 0.2);
}

#vpmgModal .btn-secondary {
    border-radius: 30px;
    transition: all 0.3s ease;
    padding: 6px 18px;
}

#vpmgModal .btn-secondary:hover {
    background-color: #555;
    border-color: #555;
}

