.container {
    max-width: 850px;
}

:root {
    --primary-color: #22353c;
    --primary-light: #2d4650;
    --primary-dark: #1a2a30;
    
    --secondary-color: #3d5a66;
    --warning-color: #4a6b7a;
    --danger-color: #1f3e47;
    --success-color: #2d5259;
    --info-color: #36525e;
}

.btn-primary {
    background-color: #22353c !important;
    border-color: #22353c !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #2d4650 !important;
    border-color: #2d4650 !important;
    box-shadow: 0 0 0 0.2rem rgba(34, 53, 60, 0.25) !important;
}

.btn-primary:active,
.btn-primary.active {
    background-color: #1a2a30 !important;
    border-color: #1a2a30 !important;
}

.btn-outline-primary {
    color: #22353c !important;
    border-color: #22353c !important;
}

.btn-outline-primary:hover {
    background-color: #22353c !important;
    border-color: #22353c !important;
    color: #ffffff !important;
}

.btn-warning {
    background-color: #4a6b7a !important;
    border-color: #4a6b7a !important;
    color: #ffffff !important;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #566f7d !important;
    border-color: #566f7d !important;
    box-shadow: 0 0 0 0.2rem rgba(74, 107, 122, 0.25) !important;
}

.btn-warning:active,
.btn-warning.active {
    background-color: #3e5866 !important;
    border-color: #3e5866 !important;
}

.btn-outline-warning {
    color: #4a6b7a !important;
    border-color: #4a6b7a !important;
}

.btn-outline-warning:hover {
    background-color: #4a6b7a !important;
    border-color: #4a6b7a !important;
    color: #ffffff !important;
}

.btn-danger {
    background-color: #1f3e47 !important;
    border-color: #1f3e47 !important;
    color: #ffffff !important;
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: #2a4f5a !important;
    border-color: #2a4f5a !important;
    box-shadow: 0 0 0 0.2rem rgba(31, 62, 71, 0.25) !important;
}

.btn-danger:active,
.btn-danger.active {
    background-color: #182d34 !important;
    border-color: #182d34 !important;
}

.btn-outline-danger {
    color: #1f3e47 !important;
    border-color: #1f3e47 !important;
}

.btn-outline-danger:hover {
    background-color: #1f3e47 !important;
    border-color: #1f3e47 !important;
    color: #ffffff !important;
}

.btn-success {
    background-color: #2d5259 !important;
    border-color: #2d5259 !important;
    color: #ffffff !important;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #386169 !important;
    border-color: #386169 !important;
    box-shadow: 0 0 0 0.2rem rgba(45, 82, 89, 0.25) !important;
}

.btn-success:active,
.btn-success.active {
    background-color: #24444a !important;
    border-color: #24444a !important;
}

.btn-outline-success {
    color: #2d5259 !important;
    border-color: #2d5259 !important;
}

.btn-outline-success:hover {
    background-color: #2d5259 !important;
    border-color: #2d5259 !important;
    color: #ffffff !important;
}

.btn-info {
    background-color: #36525e !important;
    border-color: #36525e !important;
    color: #ffffff !important;
}

.btn-info:hover,
.btn-info:focus {
    background-color: #42606d !important;
    border-color: #42606d !important;
    box-shadow: 0 0 0 0.2rem rgba(54, 82, 94, 0.25) !important;
}

.btn-info:active,
.btn-info.active {
    background-color: #2c434d !important;
    border-color: #2c434d !important;
}

.btn-outline-info {
    color: #36525e !important;
    border-color: #36525e !important;
}

.btn-outline-info:hover {
    background-color: #36525e !important;
    border-color: #36525e !important;
    color: #ffffff !important;
}

.btn-secondary {
    background-color: #3d5a66 !important;
    border-color: #3d5a66 !important;
    color: #ffffff !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #4a6873 !important;
    border-color: #4a6873 !important;
    box-shadow: 0 0 0 0.2rem rgba(61, 90, 102, 0.25) !important;
}

.btn-secondary:active,
.btn-secondary.active {
    background-color: #324b56 !important;
    border-color: #324b56 !important;
}

.btn-outline-secondary {
    color: #3d5a66 !important;
    border-color: #3d5a66 !important;
}

.btn-outline-secondary:hover {
    background-color: #3d5a66 !important;
    border-color: #3d5a66 !important;
    color: #ffffff !important;
}

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

.bg-warning {
    background-color: #4a6b7a !important;
}

.bg-danger {
    background-color: #1f3e47 !important;
}

.bg-success {
    background-color: #2d5259 !important;
}

.bg-info {
    background-color: #36525e !important;
}

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

.badge.bg-primary {
    background-color: #22353c !important;
}

.badge.bg-warning {
    background-color: #4a6b7a !important;
}

.badge.bg-danger {
    background-color: #1f3e47 !important;
}

.badge.bg-success {
    background-color: #2d5259 !important;
}

.badge.bg-info {
    background-color: #36525e !important;
}

.badge.bg-secondary {
    background-color: #3d5a66 !important;
}

.alert-primary {
    background-color: rgba(34, 53, 60, 0.1) !important;
    border-color: #22353c !important;
    color: #22353c !important;
}

.alert-warning {
    background-color: rgba(74, 107, 122, 0.1) !important;
    border-color: #4a6b7a !important;
    color: #4a6b7a !important;
}

.alert-danger {
    background-color: rgba(31, 62, 71, 0.1) !important;
    border-color: #1f3e47 !important;
    color: #1f3e47 !important;
}

.alert-success {
    background-color: rgba(45, 82, 89, 0.1) !important;
    border-color: #2d5259 !important;
    color: #2d5259 !important;
}

.alert-info {
    background-color: rgba(54, 82, 94, 0.1) !important;
    border-color: #36525e !important;
    color: #36525e !important;
}

/* Cards Headers */
.card-header.bg-primary {
    background-color: #22353c !important;
    color: #ffffff !important;
}

.card-header.bg-warning {
    background-color: #4a6b7a !important;
    color: #ffffff !important;
}

.card-header.bg-danger {
    background-color: #1f3e47 !important;
    color: #ffffff !important;
}

.card-header.bg-success {
    background-color: #2d5259 !important;
    color: #ffffff !important;
}

.card-header.bg-info {
    background-color: #36525e !important;
    color: #ffffff !important;
}

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

.text-warning {
    color: #4a6b7a !important;
}

.text-danger {
    color: #1f3e47 !important;
}

.text-success {
    color: #2d5259 !important;
}

.text-info {
    color: #36525e !important;
}

.border-primary {
    border-color: #22353c !important;
}

.border-warning {
    border-color: #4a6b7a !important;
}

.border-danger {
    border-color: #1f3e47 !important;
}

.border-success {
    border-color: #2d5259 !important;
}

.border-info {
    border-color: #36525e !important;
}

a {
    color: #22353c;
}

a:hover {
    color: #2d4650;
}

.form-control:focus,
.form-select:focus {
    border-color: #22353c !important;
    box-shadow: 0 0 0 0.2rem rgba(34, 53, 60, 0.25) !important;
}

.form-check-input:checked {
    background-color: #22353c !important;
    border-color: #22353c !important;
}

.form-check-input:focus {
    border-color: #22353c !important;
    box-shadow: 0 0 0 0.2rem rgba(34, 53, 60, 0.25) !important;
}

.progress-bar {
    background-color: #22353c !important;
}

.progress-bar.bg-warning {
    background-color: #4a6b7a !important;
}

.progress-bar.bg-danger {
    background-color: #1f3e47 !important;
}

.progress-bar.bg-success {
    background-color: #2d5259 !important;
}

.progress-bar.bg-info {
    background-color: #36525e !important;
}

.page-link {
    color: #22353c !important;
}

.page-link:hover {
    color: #2d4650 !important;
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

.page-item.active .page-link {
    background-color: #22353c !important;
    border-color: #22353c !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(34, 53, 60, 0.1) !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #22353c !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #22353c !important;
}

.nav-tabs .nav-link.active {
    color: #22353c !important;
    border-bottom-color: #22353c !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(34, 53, 60, 0.05) !important;
}

.spinner-border.text-primary,
.spinner-grow.text-primary {
    color: #22353c !important;
}

.modal-header {
    border-bottom: 1px solid rgba(34, 53, 60, 0.1);
}

.list-group-item.active {
    background-color: #22353c !important;
    border-color: #22353c !important;
}

.list-group-item-action:hover,
.list-group-item-action:focus {
    background-color: rgba(34, 53, 60, 0.05) !important;
}