@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600&family=Sora:wght@300;400;500;600;700&display=swap');

:root {
    --PYM-bg: #0f1417;
    --PYM-bg-alt: #131a1f;
    --PYM-surface: #182128;
    --PYM-surface-2: #1e2931;
    --PYM-border: rgba(255, 255, 255, 0.08);
    --PYM-text: #e6edf3;
    --PYM-muted: #a3adb8;
    --PYM-accent: #e0b14a;
    --PYM-accent-2: #2f4a57;
    --PYM-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --PYM-radius: 14px;
}

html, body {
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
}

body {
    background: radial-gradient(1200px 800px at 20% -10%, rgba(47, 74, 87, 0.35), transparent 60%),
                radial-gradient(1000px 700px at 90% 10%, rgba(224, 177, 74, 0.08), transparent 55%),
                var(--PYM-bg);
    font-size: 0.95rem;
    color: var(--PYM-text);
    font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0.01em;
}

/* Global scrollbar theme (site + scrollable modal bodies). */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 177, 74, 0.85) rgba(24, 33, 40, 0.95);
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: rgba(24, 33, 40, 0.95);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(240, 199, 107, 0.95) 0%, rgba(224, 177, 74, 0.9) 100%);
    border: 2px solid rgba(24, 33, 40, 0.95);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(245, 209, 130, 0.98) 0%, rgba(232, 189, 92, 0.95) 100%);
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
    font-family: "Sora", "IBM Plex Sans", sans-serif;
    font-weight: 600;
    color: var(--PYM-text);
}

a {
    color: var(--PYM-accent);
}

a:hover {
    color: #f0c76b;
}

.PYM-nav {
    height: 88px;
    width: 100%;
    background: linear-gradient(180deg, #18242b 0%, #162129 100%);
    border-bottom: 4px solid var(--PYM-accent);
    color: var(--PYM-text);
    font-size: 18px;
    margin-bottom: 26px;
    box-shadow: var(--PYM-shadow);
    position: relative;
    z-index: 20;
}

.PYM-nav .container,
.PYM-nav .row {
    height: 100%;
    align-items: center;
}

.PYM-nav .PYM-nav-logo {
    height: 62px;
    width: auto;
}

.PYM-sm-center {
    display: flex;
    align-items: center;
    text-align: left;
}

.PYM-nav-text {
    color: var(--PYM-text);
    padding: 0px;
    margin: 0px;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
}

.PYM-nav-item {
    list-style: none;
    cursor: pointer;
    color: var(--PYM-accent);
    margin-left: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.PYM-nav-item:first-child {
    margin-left: 0px;
}

.PYM-nav-item:hover,
.PYM-nav-item:focus,
.PYM-nav-item:visited,
.PYM-nav-item:active {
    color: var(--PYM-accent);
    opacity: 1;
}

.PYM-nav-dropdown-trigger {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(224, 177, 74, 0.12);
    border: 1px solid rgba(224, 177, 74, 0.25);
}

.PYM-nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.PYM-nav-dropdown-content {
    display: none;
    position: absolute;
    background: var(--PYM-surface);
    min-width: 240px;
    box-shadow: var(--PYM-shadow);
    padding: 20px 16px;
    z-index: 1;
    color: var(--PYM-text);
    right: 0px;
    top: 44px;
    width: 44vw;
    border: 1px solid var(--PYM-border);
    border-bottom: 4px solid var(--PYM-accent);
    border-radius: 12px;
    font-size: 15px;
    backdrop-filter: blur(6px);
}

.PYM-nav-dropdown-content .row {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 18px 24px;
    align-items: start;
}

.PYM-nav-dropdown-content .col-6,
.PYM-nav-dropdown-content .col-sm-4 {
    max-width: 100%;
    padding: 0;
}

.PYM-nav-dropdown-content b {
    display: block;
    margin-bottom: 6px;
    color: var(--PYM-text);
}

.PYM-nav-user-menu {
    width: 220px;
    padding: 14px 16px;
}

.PYM-nav-user-menu .PYM-nav-dropdown-list li a {
    padding: 4px 0;
}

@media screen and (max-width: 480px) {
    .PYM-nav-dropdown-content {
        width: 95vw;
    }
    .PYM-nav-dropdown-content .row {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 1100px) {
    .PYM-nav-dropdown-content {
        width: 560px;
    }
}

.PYM-nav-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.PYM-nav-dropdown-list li a {
    color: var(--PYM-text);
    opacity: 0.85;
    display: inline-block;
    padding: 3px 0;
}

.PYM-nav-dropdown-list li {
    line-height: 1.6;
}

.nav.nav-pills .nav-link,
.nav.nav-pills .nav-link:visited {
    color: var(--PYM-text);
    opacity: 0.85;
}

.nav.nav-pills .nav-link:hover,
.nav.nav-pills .nav-link:focus,
.nav.nav-pills .nav-link.active {
    color: var(--PYM-accent);
    opacity: 1;
}

.PYM-nav-dropdown-list li a:hover {
    text-decoration: underline;
    opacity: 1;
}

#top-landing {
    width: 100vw;
    height: 100vh;
    background-image: url('../assets/img/bg1.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    -webkit-transition: background-image 0.5s ease-in-out;
    transition: background-image 0.5s ease-in-out;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--PYM-shadow);
}

#top-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 18, 0.154) 0%, rgba(10, 14, 18, 0.62) 65%);
    z-index: 0;
    pointer-events: none;
}

#top-landing::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 50% 30%, rgba(224, 177, 74, 0.12), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

#top-landing .header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

#top-landing .header-text .display-1,
#top-landing .header-text .display-2,
#top-landing .header-text .display-3,
#top-landing .header-text .display-4 {
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

#top-landing .PYM-hero-title {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    line-height: 1.08;
    margin-bottom: 10px;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

#top-landing .PYM-hero-subtitle {
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(224, 177, 74, 0.9);
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

#top-landing .header-text em,
#top-landing .header-text i {
    color: rgba(224, 177, 74, 0.85);
}

@media screen and (max-width: 480px) {
    .header-text .display-1 {
        font-size: 9vmax;
    }

    .header-text {
        margin-top: 8vh;
    }

    .PYM-sm-center {
        display: block;
        text-align: center !important;
    }
}

.PYM-content {
    margin-top: 40px;
}

.PYM-page-title {
    text-align: center;
    margin: 10px 0 24px;
}

.PYM-page-title h1,
.PYM-page-title h2 {
    font-size: 2.1rem;
    margin: 0;
}

.PYM-section-title {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--PYM-muted);
    margin-bottom: 14px;
}

.PYM-changelog-hero {
    padding: 22px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(47, 74, 87, 0.6) 0%, rgba(24, 33, 40, 0.95) 100%);
    border: 1px solid var(--PYM-border);
    border-radius: 14px;
}

.PYM-changelog-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.PYM-changelog-summary-item {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--PYM-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--PYM-text);
}

.PYM-changelog-summary-item b {
    color: var(--PYM-accent);
}

.PYM-changelog-version {
    border: 1px solid var(--PYM-border);
    border-radius: 12px;
    margin-bottom: 12px;
    background: rgba(24, 33, 40, 0.9);
}

.PYM-changelog-version > summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--PYM-text);
}

.PYM-changelog-version > summary::-webkit-details-marker {
    display: none;
}

.PYM-changelog-version-tag {
    font-weight: 700;
    color: var(--PYM-accent);
}

.PYM-changelog-version-count {
    color: var(--PYM-muted);
    font-size: 0.85rem;
}

.PYM-changelog-list {
    margin: 0;
    padding: 0 16px 14px 16px;
    list-style: none;
}

.PYM-changelog-list li {
    padding: 9px 0;
    border-top: 1px solid var(--PYM-border);
    color: var(--PYM-text);
}

.PYM-changelog-list li:first-child {
    border-top: 0;
}

.PYM-changelog-scope {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(224, 177, 74, 0.45);
    background: rgba(224, 177, 74, 0.15);
    color: var(--PYM-accent);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card {
    background: var(--PYM-surface);
    color: var(--PYM-text);
    border-radius: var(--PYM-radius);
    border: 1px solid var(--PYM-border);
    box-shadow: var(--PYM-shadow);
}

.card-header,
.card-footer {
    background: transparent;
    border-color: var(--PYM-border);
}

.card-title,
.card-header,
.card-footer {
    color: var(--PYM-text);
}

.text-muted {
    color: var(--PYM-muted) !important;
}

.btn {
    cursor: pointer;
}

.btn {
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-primary,
.btn-success {
    background: linear-gradient(135deg, #e0b14a 0%, #f0c76b 100%);
    border: none;
    color: #1a1f24;
    box-shadow: 0 10px 20px rgba(224, 177, 74, 0.25);
}

.btn-primary:hover,
.btn-success:hover {
    background: linear-gradient(135deg, #e6b95a 0%, #f4cf7a 100%);
    filter: brightness(1.05);
    color: #1a1f24;
}

.btn-primary:focus,
.btn-success:focus,
.btn-primary:active,
.btn-success:active {
    background: linear-gradient(135deg, #e6b95a 0%, #f4cf7a 100%);
    color: #1a1f24;
    filter: brightness(1.05);
}

.btn-secondary,
.btn-info,
.btn-warning,
.btn-danger,
.btn-dark,
.btn-light {
    border: 1px solid var(--PYM-border);
    background: var(--PYM-surface-2);
    color: var(--PYM-text);
}

.btn-danger {
    background: linear-gradient(135deg, #c84a3b 0%, #e06355 100%);
    border: none;
    color: #fdf4f2;
    box-shadow: 0 10px 18px rgba(200, 74, 59, 0.25);
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background: linear-gradient(135deg, #d35648 0%, #ea7062 100%);
    color: #fdf4f2;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.2);
}

.btn-group,
.btn-group-vertical {
    background: transparent;
}

.btn-group .btn,
.btn-group-vertical .btn {
    border-radius: 10px;
    margin-right: 6px;
}

.btn-group .btn:last-child,
.btn-group-vertical .btn:last-child {
    margin-right: 0;
}

.btn-secondary:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover,
.btn-dark:hover,
.btn-light:hover {
    border-color: var(--PYM-accent);
    color: var(--PYM-text);
}

input.form-control,
textarea.form-control,
select.form-control,
.form-control {
    background: var(--PYM-surface);
    border: 1px solid var(--PYM-border);
    color: var(--PYM-text);
    border-radius: 10px;
    padding: 10px 12px;
    min-height: 44px;
}

/* Form Centre: keep autofilled/disabled fields readable in the dark theme */
.PYM-form-elem[disabled],
.PYM-form-elem:disabled,
.form-control[disabled],
.form-control:disabled {
    color: var(--PYM-text) !important;
    -webkit-text-fill-color: var(--PYM-text) !important;
    opacity: 1 !important;
    background: var(--PYM-surface) !important;
    border-color: var(--PYM-border) !important;
}

.PYM-form-elem + small {
    color: rgba(224, 177, 74, 0.9) !important;
    opacity: 1;
}

input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control {
    background-color: var(--PYM-surface);
    color: var(--PYM-text);
    color-scheme: dark;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(0.9);
}

.form-control:focus {
    border-color: var(--PYM-accent);
    box-shadow: 0 0 0 3px rgba(224, 177, 74, 0.15);
    color: var(--PYM-text);
    background: var(--PYM-surface);
}

.form-control:focus,
.form-control:focus-visible,
textarea:focus,
textarea:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible {
    outline: none !important;
    border-color: var(--PYM-accent) !important;
    box-shadow: 0 0 0 3px rgba(224, 177, 74, 0.15) !important;
}

textarea:invalid,
input:invalid,
select:invalid {
    box-shadow: none;
}

input::placeholder,
textarea::placeholder,
.form-control::placeholder {
    color: rgba(224, 177, 74, 0.75) !important;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder {
    color: rgba(224, 177, 74, 0.75) !important;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder,
.form-control:-ms-input-placeholder {
    color: rgba(224, 177, 74, 0.75) !important;
}

.modal-content {
    background: var(--PYM-surface);
    color: var(--PYM-text);
    border: 1px solid var(--PYM-border);
    border-radius: var(--PYM-radius);
}

.modal-dialog {
    max-width: calc(100vw - 2rem);
    margin: 1rem auto;
}

.modal-body {
    max-height: 80vh;
    overflow: auto;
}

.modal-header,
.modal-footer {
    border-color: var(--PYM-border);
}

.modal .modal-title,
.modal-header .modal-title {
    color: var(--PYM-text) !important;
}

.modal .close,
.modal .close span {
    color: var(--PYM-text) !important;
    text-shadow: none;
    opacity: 0.85;
}

.modal .close:hover,
.modal .close:focus {
    color: var(--PYM-accent) !important;
    opacity: 1;
}

.modal .table thead th,
.modal .table thead td {
    color: var(--PYM-text) !important;
}

.modal .table tbody th,
.modal .table tbody td,
.modal .table tfoot th,
.modal .table tfoot td {
    color: var(--PYM-text) !important;
}

.modal-body b {
    display: block;
    margin-bottom: 6px;
    color: var(--PYM-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .modal-dialog {
        max-width: calc(100vw - 1rem);
        margin: 0.5rem auto;
    }

    .modal-body {
        max-height: 78vh;
        padding: 0.75rem;
        overflow: auto;
    }
}

.alert {
    background: var(--PYM-surface-2);
    border: 1px solid var(--PYM-border);
    color: var(--PYM-text);
}

.alert a {
    color: var(--PYM-accent);
}

.alert-info {
    background: rgba(64, 146, 255, 0.12);
    border-color: rgba(64, 146, 255, 0.35);
    color: #d6e7ff;
}

.alert-success {
    background: rgba(70, 168, 105, 0.12);
    border-color: rgba(70, 168, 105, 0.35);
    color: #d5f2de;
}

.alert-warning {
    background: rgba(224, 177, 74, 0.18);
    border-color: rgba(224, 177, 74, 0.45);
    color: #f6e7c2;
}

.alert-danger {
    background: rgba(200, 74, 59, 0.16);
    border-color: rgba(200, 74, 59, 0.45);
    color: #f2c9c4;
}

table {
    color: var(--PYM-text);
    background: transparent;
}

table th {
    color: var(--PYM-muted);
    font-weight: 600;
}

.table {
    background: transparent;
}

.table th,
.table td {
    background: transparent !important;
    border-color: var(--PYM-border);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.03);
}

.table-hover tbody tr:hover {
    background-color: rgba(224, 177, 74, 0.08);
}

.table-bordered {
    border: 1px solid var(--PYM-border);
}

.table-bordered th,
.table-bordered td {
    border-color: var(--PYM-border) !important;
}

.table-danger,
.table-warning,
.table-info,
.table-success {
    color: var(--PYM-text);
}

.table-danger {
    background-color: rgba(200, 74, 59, 0.12);
}

.table-warning {
    background-color: rgba(224, 177, 74, 0.12);
}

.table-info {
    background-color: rgba(64, 146, 255, 0.12);
}

.table-success {
    background-color: rgba(70, 168, 105, 0.12);
}

.list-group,
.list-group-flush {
    background: transparent;
}

.list-group-item {
    background: transparent;
    color: var(--PYM-text);
    border-color: var(--PYM-border);
}

.breadcrumb {
    background: var(--PYM-surface-2);
    border: 1px solid var(--PYM-border);
    border-radius: 10px;
    padding: 10px 14px;
}

.breadcrumb-item a {
    color: var(--PYM-text);
    opacity: 0.8;
}

.breadcrumb-item a:hover {
    opacity: 1;
    color: var(--PYM-accent);
}

.breadcrumb-item.active {
    color: var(--PYM-muted);
}

.fc-today {
    background: rgba(224, 177, 74, 0.12) !important;
}

.fc-day-today {
    background: rgba(224, 177, 74, 0.12) !important;
}

blockquote,
.blockquote {
    color: var(--PYM-text);
    border-left: 3px solid var(--PYM-accent);
    padding-left: 14px;
}

.blockquote-footer {
    color: var(--PYM-muted);
}

.pagination {
    gap: 6px;
    background-color: transparent !important;
    padding: 0.625rem 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--PYM-border);
}

.pagination .page-item .page-link {
    background: var(--PYM-surface-2);
    color: var(--PYM-text);
    border: 1px solid var(--PYM-border);
    border-radius: 8px;
    padding: 8px 12px;
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover,
.pagination .page-item .page-link:focus {
    background: rgba(224, 177, 74, 0.18);
    border-color: var(--PYM-accent);
    color: var(--PYM-text);
    box-shadow: none;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    background: var(--PYM-surface);
    color: var(--PYM-muted);
}

.pym-pagination .btn-group {
    background: transparent;
    border: 1px solid var(--PYM-border);
    border-radius: 12px;
    padding: 6px;
}

.pym-pagination .btn {
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 9px;
}

.pym-pagination .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(224, 177, 74, 0.38);
    color: #f2f5f8;
}

.pym-pagination .btn-outline-secondary:hover,
.pym-pagination .btn-outline-secondary:focus {
    background: rgba(224, 177, 74, 0.18);
    border-color: var(--PYM-accent);
    color: #ffffff;
    box-shadow: none;
}

.pym-pagination .btn-outline-secondary.disabled,
.pym-pagination .btn-outline-secondary:disabled {
    border-color: var(--PYM-border);
    color: rgba(227, 233, 239, 0.55);
    background: rgba(255, 255, 255, 0.02);
}

.pym-pagination .btn-outline-light.disabled,
.pym-pagination .btn-outline-light:disabled {
    border-color: rgba(224, 177, 74, 0.45);
    color: #f3d589;
    background: rgba(224, 177, 74, 0.12);
    opacity: 1;
}

.PYM-footer {
    width: 100%;
    background: var(--PYM-bg-alt);
    padding: 36px 30px;
    color: var(--PYM-muted);
    font-size: 15px;
    margin-top: 50px;
    border-top: 1px solid var(--PYM-border);
}

.PYM-footer ul {
    list-style: none;
    padding: 0px;
}

.PYM-footer a {
    color: var(--PYM-text);
    opacity: 0.8;
}

.PYM-footer-changelog-link {
    display: inline-block;
    margin-top: 4px;
    font-weight: 600;
}

.PYM-footer a:hover {
    color: var(--PYM-accent);
}

.PYM-footer-brand {
    text-align: right;
    padding-left: 0px;
}

.PYM-footer-brand img {
    filter: grayscale(100%);
    margin-top: 8px;
}

.alertify-notifier .ajs-message.ajs-warning {
    color: #111;
}

.alertify-notifier .ajs-message:not(.ajs-success):not(.ajs-error):not(.ajs-warning) {
    background: linear-gradient(135deg, #3f5e84 0%, #6f9fd6 100%) !important;
    border: 1px solid rgba(174, 210, 255, 0.52) !important;
    color: #eef6ff !important;
    box-shadow: 0 10px 22px rgba(79, 109, 149, 0.34) !important;
}

.alertify-notifier .ajs-message.ajs-success {
    background: linear-gradient(135deg, #1f6d33 0%, #2fa452 100%) !important;
    border: 1px solid rgba(151, 236, 180, 0.62) !important;
    color: #f1fff6 !important;
    box-shadow: 0 10px 22px rgba(31, 109, 51, 0.38) !important;
}

.alertify-notifier .ajs-message.ajs-error {
    background: linear-gradient(135deg, #8b1f1f 0%, #cf3232 100%) !important;
    border: 1px solid rgba(255, 177, 177, 0.62) !important;
    color: #fff5f5 !important;
    box-shadow: 0 10px 22px rgba(139, 31, 31, 0.40) !important;
}

.alertify .ajs-dimmer {
    background-color: rgba(13, 18, 22, 0.75);
}

.alertify .ajs-dialog {
    background: var(--PYM-surface);
    color: var(--PYM-text);
    border: 1px solid var(--PYM-border);
    border-radius: var(--PYM-radius);
    box-shadow: var(--PYM-shadow);
}

.alertify .ajs-header {
    background: transparent;
    color: var(--PYM-text);
    border-bottom: 1px solid var(--PYM-border);
}

.alertify .ajs-body .ajs-content {
    color: var(--PYM-text);
}

.alertify .ajs-footer {
    background: transparent;
    border-top: 1px solid var(--PYM-border);
}

.alertify .ajs-modal .ajs-dialog,
.alertify .ajs-modal .ajs-dialog .ajs-body,
.alertify .ajs-modal .ajs-dialog .ajs-header,
.alertify .ajs-modal .ajs-dialog .ajs-footer {
    background-color: var(--PYM-surface) !important;
    color: var(--PYM-text) !important;
}

.alertify .ajs-modal .ajs-dialog .ajs-content,
.alertify .ajs-modal .ajs-dialog .ajs-body .ajs-content {
    color: var(--PYM-text) !important;
}

.alertify .ajs-button {
    border-radius: 999px;
    border: 1px solid var(--PYM-border);
    background: var(--PYM-surface-2);
    color: var(--PYM-text);
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 8px 16px;
}

.alertify .ajs-button.ajs-ok {
    background: linear-gradient(135deg, #e0b14a 0%, #f0c76b 100%);
    border: none;
    color: #1a1f24;
    box-shadow: 0 10px 20px rgba(224, 177, 74, 0.25);
}

.alertify .ajs-button.ajs-cancel:hover,
.alertify .ajs-button.ajs-ok:hover {
    filter: brightness(1.04);
}

#aboutUs {
    margin-top: 30px;
    margin-bottom: 30px;
}

.quotes {
    font-size: 150px;
    color: rgba(0,0,0,0.2);
    font-family: serif !important;
    line-height: 20px;
}

.about-us {
    font-size: 20px;
    color: var(--PYM-text);
    line-height: 1.6;
}

.about-us p {
    margin-bottom: 1rem;
}

.PYM-about-title {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.PYM-about-list {
    margin: 0 0 1rem 1.2rem;
    padding: 0;
}

.PYM-about-list li {
    margin-bottom: 0.35rem;
}

.PYM-about-cta {
    margin-top: 1.2rem;
    margin-bottom: 0;
    font-weight: 600;
}

.card-top-video {
    width: 100%;
    height: 300px;
    border: none;
}

.center {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.contact-box {
    width: 100%;
    height: 300px;
    color: white;
}

.contact-box {
    border-radius: 14px;
    border: 1px solid var(--PYM-border);
    background: var(--PYM-surface-2);
    box-shadow: var(--PYM-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-box .center {
    position: static;
    top: auto;
    left: auto;
    transform: none;
}

.contact-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.contact-box i {
    color: #fff;
    opacity: 0.95;
}

.contact-box--facebook {
    background: linear-gradient(135deg, rgba(66, 103, 178, 0.5), rgba(66, 103, 178, 0.18));
}

.contact-box--twitter {
    background: linear-gradient(135deg, rgba(59, 148, 217, 0.5), rgba(59, 148, 217, 0.18));
}

.contact-box--discord {
    background: linear-gradient(135deg, rgba(113, 136, 217, 0.5), rgba(113, 136, 217, 0.18));
}

.contact-box--email {
    background: linear-gradient(135deg, rgba(62, 62, 62, 0.7), rgba(62, 62, 62, 0.25));
}

.PYM-min-vh-56 {
    min-height: 56vh;
}

pre {
    font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    white-space: pre-line;
    word-wrap: normal;
    color: var(--PYM-text);
}

label {
    color: var(--PYM-muted);
}

.pull-right {
    float: right;
}

.PYM-comment {
    background: var(--PYM-surface-2);
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--PYM-border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.PYM-note {
    background: var(--PYM-surface-2);
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--PYM-border);
    color: var(--PYM-text);
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    color: var(--PYM-text);
}

.card-body, .table tbody td, .table tbody th {
    color: var(--PYM-text);
    font-size: 0.9rem;
}

.PYM-feature-highlight {
    color: var(--PYM-text);
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(47, 74, 87, 0.6) 0%, rgba(19, 26, 31, 0.9) 100%);
    border: 1px solid var(--PYM-border);
    box-shadow: var(--PYM-shadow);
}

.PYM-file-panel {
    border-radius: 10px;
    background-color: var(--PYM-surface-2);
    border: 1px solid var(--PYM-border);
    color: var(--PYM-text);
    padding: 24px;
    margin-bottom: 24px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.PYM-file-panel b {
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
}

.PYM-file-panel a {
    color: var(--PYM-text);
    text-decoration: none;
}

.PYM-file-panel a:hover,
.PYM-file-panel a:active,
.PYM-file-panel a:visited {
    color: rgba(230, 237, 243, 0.8);
}

.PYM-file-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.PYM-fleet-hero {
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid var(--PYM-border);
    background: linear-gradient(135deg, rgba(47, 74, 87, 0.5), rgba(24, 33, 40, 0.92));
}

.PYM-fleet-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--PYM-muted);
    font-size: 0.92rem;
}

.PYM-fleet-summary b {
    color: var(--PYM-text);
}

.PYM-fleet-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px 0;
}

.PYM-fleet-filter-btn {
    border: 1px solid rgba(224, 177, 74, 0.35);
    background: rgba(224, 177, 74, 0.08);
    color: var(--PYM-text);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.PYM-fleet-filter-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(224, 177, 74, 0.5);
}

.PYM-fleet-filter-btn.is-active {
    background: rgba(224, 177, 74, 0.18);
    border-color: rgba(224, 177, 74, 0.65);
}

.PYM-fleet-division {
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--PYM-border);
    background: rgba(24, 33, 40, 0.72);
}

.PYM-fleet-division-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.PYM-fleet-division-copy {
    color: var(--PYM-muted);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.PYM-fleet-count {
    border-radius: 999px;
    border: 1px solid var(--PYM-border);
    padding: 4px 10px;
    font-size: 0.78rem;
    color: var(--PYM-muted);
    background: rgba(255, 255, 255, 0.03);
}

.PYM-fleet-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.PYM-fleet-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--PYM-border);
}

.PYM-fleet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.PYM-fleet-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--PYM-muted);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.PYM-fleet-chip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.PYM-fleet-chip {
    display: inline-block;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #111;
    background: var(--PYM-accent);
    font-weight: 600;
}

.PYM-fleet-status {
    display: inline-block;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid transparent;
}

.PYM-fleet-status--active {
    background: rgba(72, 187, 120, 0.16);
    color: #a4f0be;
    border-color: rgba(72, 187, 120, 0.44);
}

.PYM-fleet-status--fleet-spare {
    background: rgba(224, 177, 74, 0.16);
    color: #f0cb7a;
    border-color: rgba(224, 177, 74, 0.4);
}

.PYM-fleet-status--retired {
    background: rgba(245, 101, 101, 0.17);
    color: #f7b2b2;
    border-color: rgba(245, 101, 101, 0.45);
}

.PYM-fleet-status--coming-soon {
    background: rgba(111, 168, 220, 0.17);
    color: #b8daff;
    border-color: rgba(111, 168, 220, 0.5);
}

.PYM-fleet-meta {
    color: var(--PYM-muted);
    font-size: 0.84rem;
    margin-bottom: 6px;
}

.PYM-fleet-meta b {
    color: var(--PYM-text);
}

.PYM-light {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sk-folding-cube {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    position: relative;
    -webkit-transform: rotateZ(45deg);
            transform: rotateZ(45deg);
}

.sk-folding-cube .sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1); 
}
.sk-folding-cube .sk-cube:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
            animation: sk-foldCubeAngle 2.4s infinite linear both;
    -webkit-transform-origin: 100% 100%;
        -ms-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
}
.sk-folding-cube .sk-cube2 {
    -webkit-transform: scale(1.1) rotateZ(90deg);
            transform: scale(1.1) rotateZ(90deg);
}
.sk-folding-cube .sk-cube3 {
    -webkit-transform: scale(1.1) rotateZ(180deg);
            transform: scale(1.1) rotateZ(180deg);
}
.sk-folding-cube .sk-cube4 {
    -webkit-transform: scale(1.1) rotateZ(270deg);
            transform: scale(1.1) rotateZ(270deg);
}
.sk-folding-cube .sk-cube2:before {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
}
.sk-folding-cube .sk-cube3:before {
    -webkit-animation-delay: 0.6s;
            animation-delay: 0.6s; 
}
.sk-folding-cube .sk-cube4:before {
    -webkit-animation-delay: 0.9s;
            animation-delay: 0.9s;
}
@-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
                transform: perspective(140px) rotateX(-180deg);
        opacity: 0; 
    } 25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
                transform: perspective(140px) rotateX(0deg);
        opacity: 1; 
    } 90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
                transform: perspective(140px) rotateY(180deg);
        opacity: 0; 
    } 
}

@keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
                transform: perspective(140px) rotateX(-180deg);
        opacity: 0; 
    } 25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
                transform: perspective(140px) rotateX(0deg);
        opacity: 1; 
    } 90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
                transform: perspective(140px) rotateY(180deg);
        opacity: 0; 
    }
}

.modal-xl {
    max-width: 90vw;
}

.Active {
    background-color: rgb(106, 168, 79) !important;
    color: rgb(255, 255, 255) !important;
}

.Inactive {
    background-color: rgb(255, 153, 0) !important;
    color: rgb(255, 255, 255) !important;
}

.Left {
    background-color: black !important;
    color: white !important;
}

.LOA {
    background-color: rgb(153, 0, 255) !important;
    color: rgb(243, 243, 243) !important;
}

.Banned {
    background-color: red !important;
    color: white !important;
}

.Removed {
    background-color: white !important;
    color: black !important;
}

.Visitor {
    background-color: grey !important;
    color: white !important;
}

.card-body, .table tbody td, .table tbody th {
    color: inherit;
}

.alert-danger {
    color: rgba(0, 0, 0, 0.87);
    background-color: #ffcdd2;
    text-align: center;
}
