:root {
    --bs-primary: #E6433A;
    --bs-primary-rgb: 230, 67, 58;
    --bs-secondary: #EFCFE3;
    --bs-secondary-rgb: 239, 207, 227;
}

.bg-primary {
    background-color: #E6433A !important;
}

.text-primary {
    color: #ffffff !important;
}

.btn-primary {
    background-color: #E6433A;
    border-color: #E6433A;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #d13c33;
    border-color: #d13c33;
    color: #ffffff;
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: #d13c33;
    border-color: #d13c33;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(230, 67, 58, 0.5);
}

.btn-primary:active,
.btn-primary.active {
    background-color: #d13c33;
    border-color: #d13c33;
    color: #ffffff;
}

.bg-secondary {
    background-color: #EFCFE3 !important;
}

.text-secondary {
    color: #523249 !important;
}

.btn-secondary {
    background-color: #EFCFE3;
    border-color: #EFCFE3;
    color: #523249;
}

.btn-secondary:hover {
    background-color: #e8c4d9;
    border-color: #e8c4d9;
    color: #523249;
}

.btn-secondary:focus,
.btn-secondary.focus {
    background-color: #e8c4d9;
    border-color: #e8c4d9;
    color: #523249;
    box-shadow: 0 0 0 0.2rem rgba(239, 207, 227, 0.5);
}

.btn-secondary:active,
.btn-secondary.active {
    background-color: #e8c4d9;
    border-color: #e8c4d9;
    color: #523249;
}

.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
}

.card-header.bg-primary {
    background-color: #E6433A !important;
    color: #ffffff !important;
}

/* Center align date columns in maternity tables */
.table td:nth-child(2),
.table td:nth-child(3) {
    text-align: center;
    white-space: nowrap;
}

/* Mobile date format - show 2 digit year */
@media (max-width: 767.98px) {
    .table td:nth-child(2) .date-full,
    .table td:nth-child(3) .date-full {
        display: none;
    }
    .table td:nth-child(2) .date-short,
    .table td:nth-child(3) .date-short {
        display: inline;
    }
}

/* Desktop date format - show 4 digit year */
@media (min-width: 768px) {
    .table td:nth-child(2) .date-full,
    .table td:nth-child(3) .date-full {
        display: inline;
    }
    .table td:nth-child(2) .date-short,
    .table td:nth-child(3) .date-short {
        display: none;
    }
}