/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #a0a0a0;
    padding-top: 50px; /* Fix for navbar-fixed-top */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: #e67e22;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
    color: #d35400;
}

/* Navbar Customization */
.navbar-fixed-top {
    background-color: #1a1a1a;
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
    border-bottom: 1px solid #333;
}

.navbar-brand img {
    height: 40px;
    margin-top: -10px;
    width: auto;
}

.navbar-nav > li > a {
    color: #e0e0e0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: all 0.4s ease-in-out;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    background-color: transparent;
    color: #e67e22;
}

/* Hero Section (Landing Page) */
.hero-section {
    color: #fff;
    padding: 180px 0 150px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid #e67e22;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;  
    animation: hero-breathe 20s ease-in-out infinite alternate;
}

.hero-section h1 {
    color: #fff;
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(230, 126, 34, 0.6);
}

.hero-section .lead {
    font-size: 24px;
    margin-bottom: 40px;
    color: #ddd;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-section .btn {
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
    margin: 0 10px;
    transition: all 0.3s;
}

.hero-section .btn-primary {
    background-color: #e67e22;
    color: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.4);
}

.hero-section .btn-primary:hover {
    background-color: #d35400;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(230, 126, 34, 0.6);
}

.hero-section .btn-outline {
    background-color: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}

.hero-section .btn-outline:hover {
    background-color: #fff;
    color: #111;
}

/* Cards / Panels */
.panel {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.panel-heading {
    background-color: #252525 !important;
    border-bottom: 1px solid #333;
    color: #fff !important;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
}

.panel-title {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.panel-body {
    padding: 20px;
    line-height: 1.6;
}

.panel-footer {
    background-color: #252525;
    border-top: 1px solid #333;
    border-radius: 0 0 8px 8px;
}

/* Footer */
.main-footer {
    background-color: #111;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231a1a1a' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    color: #888;
    padding: 0;
    margin-top: 80px;
    border-top: 4px solid #e67e22;
}

.main-footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.main-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #e67e22;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-about p {
    line-height: 1.8;
}

.footer-features {
    margin-top: 20px;
    font-size: 14px;
    color: #bdc3c7;
}

.footer-features span {
    display: inline-block;
    margin: 0 15px;
}

.footer-features i {
    color: #e67e22;
    margin-right: 8px;
}

.social-icons {
    margin-top: 25px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #222;
    color: #fff;
    margin-right: 10px;
    font-size: 16px;
}

.social-icons a:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
}

.main-footer ul {
    list-style: none;
    padding: 0;
}

.main-footer ul li a {
    color: #bdc3c7;
    display: block;
    margin-bottom: 10px;
    padding: 5px 0;
}

.main-footer ul li a:hover {
    color: #e67e22;
    padding-left: 10px;
}

.footer-bottom {
    background-color: #000;
    padding: 25px 0;
    margin-top: 0;
    font-size: 13px;
    color: #95a5a6;
    border-top: 1px solid #222;
}

.footer-bottom strong {
    color: #e67e22;
}

.fb-container {
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #333;
}

/* Download Page Styles */
.download-card {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.15);
    border-color: #e67e22;
}

.download-icon {
    font-size: 48px;
    color: #e67e22;
    margin-bottom: 20px;
}

.download-card h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.download-card .btn {
    margin-top: 10px;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-tiger {
    background-color: #e67e22;
    color: #fff;
}

.btn-tiger:hover {
    background-color: #d35400;
    color: #fff;
}

/* Login Button in Navbar */
.navbar-nav > li.btn-account > a {
    background-color: #e67e22;
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 25px;
    margin-top: 10px;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.navbar-nav > li.btn-account > a:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

/* --- GAMING SECTIONS --- */

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-header h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
}

.section-header p {
    color: #e67e22;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Server Info Box */
.info-box {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 170px;
}

.info-box:hover {
    border-color: #e67e22;
    transform: translateY(-5px);
}

.info-box i {
    font-size: 40px;
    color: #e67e22;
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 18px;
    margin: 0 0 5px 0;
    color: #fff;
    word-wrap: break-word;
    max-width: 100%;
}

.info-box span {
    color: #888;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    display: block;
}

@media (max-width: 768px) {
    .info-box h3 {
        font-size: 18px;
    }
}

/* WoE Castle Card */
.castle-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #333;
}

.castle-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.5s;
}

.castle-card:hover .castle-img {
    transform: scale(1.1);
}

.castle-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
}

.castle-overlay h4 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.castle-overlay p {
    margin: 5px 0 0;
    color: #e67e22;
    font-size: 14px;
    font-weight: bold;
}

.castle-info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    font-size: 12px;
    align-items: center;
}

.castle-info-grid i {
    color: #e67e22;
    margin-right: 5px;
}

.castle-info-grid > div:nth-child(odd) {
    font-weight: bold;
    color: #aaa;
}
.castle-info-grid img {
    width: 16px; height: 16px; vertical-align: middle; margin-right: 5px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(230, 126, 34, 0.1), rgba(0,0,0,0.9)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
    margin-top: 80px;
    border-top: 4px solid #e67e22;
}

/* --- TIGER THEME GLOBAL OVERRIDES --- */

/* Buttons (Orange Tiger) */
.btn-primary {
    background-color: #e67e22;
    border-color: #d35400;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #d35400;
    border-color: #a04000;
    color: #fff;
}

/* Form Inputs (Dark Theme) */
.form-control {
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #e0e0e0;
}

.form-control:focus {
    border-color: #e67e22;
    box-shadow: 0 0 8px rgba(230, 126, 34, 0.3);
}

/* Page Headers */
.page-header {
    border-bottom: 1px solid #333;
    color: #fff;
}

.page-header i {
    color: #e67e22;
}

/* Text Colors */
.text-primary {
    color: #e67e22;
}

/* Modal / Popup (Dark Theme) */
.modal-content {
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #ddd;
}

.modal-header {
    border-bottom: 1px solid #333;
}

.close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}

.close:hover {
    color: #e67e22;
    opacity: 1;
}

.list-group-item {
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #ddd;
}

/* Server Status Header */
.server-status-item > a {
    cursor: default !important;
    background-color: transparent !important;
    font-size: 12px;
    font-weight: 600;
    color: #888 !important;
    letter-spacing: 0.5px;
}

.server-status-item .status-online {
    color: #2ecc71;
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.4);
}

.server-status-item .status-offline {
    color: #e74c3c;
}

.server-status-item .status-divider {
    margin: 0 8px;
    color: #444;
}

.server-status-item .status-text i {
    color: #e67e22;
    margin-right: 3px;
}

/* Animations */
@keyframes hero-breathe {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

/* Table Styles (Dark Theme) */
.table {
    color: #ccc;
    background-color: #1e1e1e;
}

.table > thead > tr > th, 
.table > tbody > tr > th, 
.table > tfoot > tr > th, 
.table > thead > tr > td, 
.table > tbody > tr > td, 
.table > tfoot > tr > td {
    border-top: 1px solid #333;
}

.table-bordered {
    border: 1px solid #333;
}

.table-bordered > thead > tr > th, 
.table-bordered > tbody > tr > th, 
.table-bordered > tfoot > tr > th, 
.table-bordered > thead > tr > td, 
.table-bordered > tbody > tr > td, 
.table-bordered > tfoot > tr > td {
    border: 1px solid #333 !important;
}

.table > thead > tr > th,
.table > tbody > tr > th {
    background-color: #252525;
    color: #e67e22;
    border-bottom: 1px solid #333;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #151515;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #1e1e1e;
}

.table-hover > tbody > tr:hover {
    background-color: #2a2a2a;
}

/* Legacy FluxCP Tables Dark Mode */
.vertical-table, .horizontal-table, .generic-form-table {
    width: 100%;
    background-color: #1e1e1e;
    color: #ccc;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.vertical-table th, .horizontal-table th, .generic-form-table th,
.vertical-table td, .horizontal-table td, .generic-form-table td {
    border: 1px solid #333;
    padding: 8px;
    background-color: transparent !important;
}

.vertical-table th, .horizontal-table th, .generic-form-table th {
    background-color: #252525 !important;
    color: #e67e22;
    text-align: left;
}

.vertical-table tr:nth-child(odd), .horizontal-table tr:nth-child(odd) {
    background-color: #121212;
}

.vertical-table tr:nth-child(even), .horizontal-table tr:nth-child(even) {
    background-color: #222;
}

/* Global Input Styles for Legacy Forms */
input[type="text"], input[type="password"], input[type="number"], select, textarea {
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 6px 12px;
    border-radius: 4px;
}

input[type="submit"], input[type="reset"], input[type="button"] {
    background-color: #e67e22;
    border: 1px solid #d35400;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Navbar Dropdown Dark Theme */
.dropdown-menu {
    background-color: #1e1e1e;
    border: 1px solid #333;
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
    padding: 5px 0;
    margin-top: 0;
    border-radius: 0 0 4px 4px;
}

.dropdown-menu > li > a {
    color: #aaa;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: #e67e22;
    color: #fff;
    padding-left: 25px;
}

/* Navbar Active/Open State */
.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus,
.navbar-nav > li > a:active,
.navbar-nav > .open > a,
.navbar-nav > .open > a:hover,
.navbar-nav > .open > a:focus {
    background-color: #252525;
    color: #e67e22;
}

/* Dark Theme for Default Buttons */
.btn-default {
    background-color: #1e1e1e;
    border-color: #333;
    color: #ccc;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    background-color: #252525;
    border-color: #444;
    color: #e67e22;
}

/* Gallery Styles */
.gallery-thumbnail {
    height: 200px;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid #333;
    background-color: #1e1e1e;
    position: relative;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-thumbnail:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

.gallery-thumbnail:hover {
    border-color: #e67e22;
}

/* News Card Styles */
.news-card {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.news-card-img-container {
    display: block;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .panel-body {
    flex-grow: 1;
}

.news-card .news-title {
    margin-top: 0;
    font-size: 18px;
    color: #e67e22;
}

.news-card hr {
    margin-top: 10px;
    margin-bottom: 15px;
    border-color: #333;
}

.news-card .panel-body p {
    max-height: 60px; /* Limit the height of the paragraph */
    overflow: hidden;
    position: relative;
}

/* Item Slider Card Styles */
.item-card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px 0;
    overflow: hidden; /* Ensure content stays inside */
    min-height: 220px; /* Give it a fixed minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.item-card:hover {
    transform: translateY(-5px);
    border-color: #e67e22;
    animation: breathing-glow 2s ease-in-out infinite alternate;
}


.item-card-content {
    /* This class is no longer needed */
}

.item-card img {
    max-height: 100px; /* Reduced max height for image */
    max-width: 100%; /* Ensure image doesn't overflow width */
}

.item-card h3 {
    color: #e67e22;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 5px;
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure text doesn't overflow */
}

.item-card p {
    font-size: 12px;
    color: #888;
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure text doesn't overflow */
}

/* Modal for Item Card */
.item-modal .modal-content {
    background: transparent;
    box-shadow: none;
    border: none;
}

@keyframes breathing-glow {
    from { box-shadow: 0 0 5px rgba(230, 126, 34, 0.2); }
    to { box-shadow: 0 0 20px rgba(230, 126, 34, 0.6); }
}

/* Item Slider Controls Position */
#itemCarousel .carousel-control {
    background: none !important;
    width: 5%;
    color: #e67e22;
    text-shadow: none;
    font-size: 30px;
}

#itemCarousel .carousel-control.left {
    left: -50px;
}

#itemCarousel .carousel-control.right {
    right: -50px;
}

/* News Modal Content Fix */
#newsModalBody,
#newsModalBodyLoggedIn {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#newsModalBody img,
#newsModalBodyLoggedIn img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    ul.nav li.dropdown > ul.dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
    ul.nav li.dropdown:hover > ul.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* --- EXTRA ADDONS --- */

/* Sembunyikan icon broken menu */
img[src*="icon_menu.png"] {
    display: none !important;
}

/* Gallery Hover Styles */
.gallery-thumbnail {
    position: relative;
    overflow: hidden;
    display: block;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
    padding: 8px 5px;
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
    transition: all 0.3s ease-in-out;
}
.gallery-thumbnail:hover .gallery-caption {
    background: rgba(0,0,0,0.9);
    padding-bottom: 15px;
}
.gallery-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}
.gallery-thumbnail:hover .gallery-desc {
    max-height: 150px;
    opacity: 1;
    margin-top: 5px;
}

/* Video Hover Styles */
.video-thumbnail .yt-play-btn {
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}
.video-thumbnail:hover .yt-play-btn {
    color: #ff0000;
    opacity: 1;
}

/* Screen Particles Effects */
@keyframes fall-snow { 0% { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(110vh) translateX(20px) rotate(360deg); opacity: 0; } }
@keyframes fall-rain { 0% { transform: translateY(-10vh) translateX(0); opacity: 1; } 100% { transform: translateY(110vh) translateX(10px); opacity: 0; } }
@keyframes fall-leaf { 0% { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(110vh) translateX(50px) rotate(720deg); opacity: 0; } }
@keyframes fall-sparkle { 0% { transform: translateY(-10vh) translateX(0) scale(1); opacity: 1; } 50% { transform: translateY(50vh) translateX(10px) scale(0.5); opacity: 0.5; } 100% { transform: translateY(110vh) translateX(-10px) scale(1.2); opacity: 0; } }
@keyframes float-up { 0% { transform: translateY(120vh) translateX(0) scale(0.8); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-20vh) translateX(30px) scale(1.2); opacity: 0; } }
@keyframes fall-confetti { 0% { transform: translateY(-10vh) translateX(0) rotate(0deg) rotateX(0deg); opacity: 1; } 100% { transform: translateY(110vh) translateX(30px) rotate(360deg) rotateX(360deg); opacity: 0; } }

.effect-particle { position: fixed; top: -10%; z-index: 9999; pointer-events: none; }
.particle-snow { background: #fff; border-radius: 50%; animation: fall-snow linear infinite; box-shadow: 0 0 5px #fff; }
.particle-rain { background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.8)); width: 2px !important; animation: fall-rain linear infinite; }
.particle-autumn { border-radius: 50% 0 50% 0; animation: fall-leaf linear infinite; }
.particle-cherry_blossom { border-radius: 50% 0 50% 0; animation: fall-leaf linear infinite; }
.particle-sparkle { clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); background: gold; animation: fall-sparkle linear infinite; }
.particle-bubbles { border: 1px solid rgba(255,255,255,0.6); border-radius: 50%; box-shadow: inset 0 0 10px rgba(255,255,255,0.2); animation: float-up linear infinite; }
.particle-fireflies { background: #d4e157; border-radius: 50%; box-shadow: 0 0 5px #d4e157, 0 0 10px #d4e157; animation: float-up ease-in infinite; }
.particle-confetti { animation: fall-confetti linear infinite; }
/* Bright RO global light foundation — Phase 5.2 */
body {background:#fffdf8;color:#514630;}
body .subpage-header,body .main-content-box,body .content-inner {background:#fffdf8;color:#514630;border-color:#eadbb8;}
body .subpage-header h1,body .main-content-box h1,body .main-content-box h2,body .main-content-box h3,body .main-content-box h4 {color:#79551d;}
body .navbar.navbar-fixed-top {background:#fff!important;border-bottom:1px solid #eadbb8!important;box-shadow:0 3px 15px #79500e15;}
body .navbar .navbar-nav>li>a {color:#594c37!important;}
body .navbar .navbar-nav>li:hover>a,body .navbar .navbar-nav>li>a:focus,body .navbar .navbar-nav>li>a:active,body .navbar .navbar-nav>li.active>a,body .navbar .navbar-nav>li.open>a,body .navbar .navbar-nav>li.open>a:hover,body .navbar .navbar-nav>li.open>a:focus {background:#fff5dc!important;color:#79551d!important;}
body .navbar .navbar-nav>li.btn-account>a,body .navbar .navbar-nav>li.btn-account>a:hover {background:linear-gradient(135deg,#ffe69a,#e9b83e)!important;color:#634710!important;border:1px solid #d4af37;}
body .navbar .dropdown-menu {background:#fff!important;border-color:#eadbb8;box-shadow:0 6px 18px #79500e20;}
body .navbar .dropdown-menu>li>a {color:#594c37!important;}
body .navbar .dropdown-menu>li>a:hover,body .navbar .dropdown-menu>li>a:focus {background:#fff5dc!important;color:#79551d!important;}
body .navbar .dropdown-menu .divider {background:#eadbb8;}
body .navbar .navbar-brand img {object-fit:contain;mix-blend-mode:multiply;}
body .navbar .navbar-toggle {background:#f7df9a!important;}
body .main-content-box a {color:#79551d;}
body .main-content-box .panel,body .main-content-box .download-card,body .main-content-box .info-box,body .main-content-box .list-group-item {background:#fff;border-color:#e8d9b9;color:#514630;box-shadow:0 8px 24px #b88b2310;}
body .main-content-box .panel-heading,body .main-content-box .panel-footer {background:#f5e8c5!important;border-color:#e8d9b9;color:#79551d!important;}
body .main-content-box .panel-title,body .main-content-box .download-icon {color:#79551d;}
body .main-content-box .table,body .main-content-box .vertical-table,body .main-content-box .horizontal-table,body .main-content-box .generic-form-table {background:#fff;color:#514630;border-color:#e8d9b9;}
body .main-content-box .table th,body .main-content-box .table td,body .main-content-box .vertical-table th,body .main-content-box .vertical-table td,body .main-content-box .horizontal-table th,body .main-content-box .horizontal-table td,body .main-content-box .generic-form-table th,body .main-content-box .generic-form-table td {border-color:#e8d9b9!important;}
body .main-content-box .table th,body .main-content-box .vertical-table th,body .main-content-box .horizontal-table th,body .main-content-box .generic-form-table th {background:#f5e8c5!important;color:#79551d;}
body .main-content-box .table-striped>tbody>tr:nth-of-type(odd),body .main-content-box .vertical-table tr:nth-child(odd),body .main-content-box .horizontal-table tr:nth-child(odd) {background:#fff;}
body .main-content-box .table-striped>tbody>tr:nth-of-type(even),body .main-content-box .vertical-table tr:nth-child(even),body .main-content-box .horizontal-table tr:nth-child(even) {background:#faf6eb;}
body .main-content-box .table-hover>tbody>tr:hover {background:#fff0c7;}
body .main-content-box .form-control,body .main-content-box input[type=text],body .main-content-box input[type=password],body .main-content-box input[type=number],body .main-content-box select,body .main-content-box textarea {background:#fff;color:#514630;border-color:#d9c79e;}
body .main-content-box .btn-primary,body .main-content-box .btn-tiger,body .main-content-box input[type=submit] {background:linear-gradient(115deg,#ffdf6c,#ffc83a);border-color:#c89525;color:#503706;}
body .main-content-box .btn-default {background:#fff;color:#79551d;border-color:#d9c79e;}
body .main-content-box .page-header {border-color:#eadbb8;color:#79551d;}
/* Preserve the approved Information table treatment. */
body .main-content-box .br-info .table>tbody>tr>th {background:transparent!important;}
@media(max-width:767px){body .navbar .navbar-collapse{background:#fff!important;}}

/* Bright RO Navigation V3 — actual FluxCP submenu */
html body .navbar .navbar-nav > li > a:focus,
html body .navbar .dropdown-menu > li > a:focus,
html body #submenu > ul.nav.nav-pills > li > a:focus {
  outline: 2px solid #9d7629 !important;
  outline-offset: -2px !important;
  box-shadow: none !important;
}
html body .navbar .navbar-nav > li > a:focus:not(:focus-visible),
html body .navbar .dropdown-menu > li > a:focus:not(:focus-visible),
html body #submenu > ul.nav.nav-pills > li > a:focus:not(:focus-visible) {
  outline: none !important;
}
html body:has(.br-rankings) #submenu { padding: 20px 0 8px; }
html body:has(.br-rankings) #submenu > ul.nav.nav-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 0; padding: 0;
}
html body:has(.br-rankings) #submenu > ul.nav.nav-pills::before,
html body:has(.br-rankings) #submenu > ul.nav.nav-pills::after { display: none; }
html body:has(.br-rankings) #submenu > ul.nav.nav-pills > li { float: none; margin: 0; }
html body #submenu > ul.nav.nav-pills > li > a {
  color: #79551d !important; border: 1px solid transparent !important;
  border-radius: 5px; padding: 9px 13px;
}
html body #submenu > ul.nav.nav-pills > li > a:hover,
html body #submenu > ul.nav.nav-pills > li > a:focus { background: #fff5dc !important; color: #79551d !important; }
html body #submenu > ul.nav.nav-pills > li.active > a,
html body #submenu > ul.nav.nav-pills > li.active > a:hover,
html body #submenu > ul.nav.nav-pills > li.active > a:focus {
  background: #f8e4a3 !important; color: #79551d !important; border-color: #d4af37 !important;
}
@media (min-width: 768px) {
  html body .navbar ul.nav li.dropdown:focus-within > ul.dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
}
@media (max-width: 767px) {
  html body:has(.br-rankings) #submenu { padding: 14px 0 4px; }
  html body #submenu > ul.nav.nav-pills > li > a { padding: 8px 10px; }
}
/* BRIGHT RO - NAVIGATION FIX V4 */

/* Main navigation and dropdown focus */
body .navbar .navbar-nav > li > a:focus,
body .navbar .navbar-nav > li > a:active,
body .navbar .dropdown-menu > li > a:focus,
body .navbar .dropdown-menu > li > a:active,
body ul.nav.nav-pills > li > a:focus,
body ul.nav.nav-pills > li > a:active {
    outline: 2px solid #b38a30 !important;
    outline-offset: -2px !important;
    box-shadow: none !important;
}

/* Remove mouse-click outline only */
body .navbar a:focus:not(:focus-visible),
body ul.nav.nav-pills > li > a:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Center submenu */
body ul.nav.nav-pills {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 18px 12px !important;
    margin: 0 auto !important;
}

body ul.nav.nav-pills > li {
    float: none !important;
    margin: 0 !important;
}

/* Submenu default appearance */
body ul.nav.nav-pills > li > a {
    background: transparent !important;
    color: #79551d !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    padding: 10px 16px !important;
    box-shadow: none !important;
}

/* Submenu hover appearance */
body ul.nav.nav-pills > li > a:hover {
    background: #fff5dc !important;
    color: #79551d !important;
    border-color: #eadbb8 !important;
}

/* Replace Bootstrap blue with gold */
body ul.nav.nav-pills > li.active > a,
body ul.nav.nav-pills > li.active > a:hover,
body ul.nav.nav-pills > li.active > a:focus {
    background: linear-gradient(
        135deg, #ffe69a, #e9b83e
    ) !important;
    color: #634710 !important;
    border: 1px solid #d4af37 !important;
    box-shadow: none !important;
}
/* BRIGHT RO - GLOBAL NAVIGATION FOCUS FIX */

html body .navbar a:focus,
html body #submenu a:focus {
    outline: 2px solid #b38a30 !important;
    outline-offset: -2px !important;
    box-shadow: none !important;
}

html body .navbar a:focus:not(:focus-visible),
html body #submenu a:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

html body .navbar a:focus-visible,
html body #submenu a:focus-visible {
    outline: 2px solid #b38a30 !important;
    outline-offset: -2px !important;
}
/* BRIGHT RO - LOGIN INTERFACE V3 */

#accountModal .modal-content {
    background: #fffdf7 !important;
    color: #594b30 !important;
    border: 1px solid #d8bf83 !important;
    border-radius: 8px !important;
    box-shadow: 0 15px 50px rgba(0,0,0,.18) !important;
}

#accountModal .modal-dialog {
    max-width: 460px !important;
}

#accountModal .modal-header {
    background: #fffdf7 !important;
    border-bottom: 1px solid #eadbb8 !important;
}

#accountModal .modal-title {
    font-family: 'Cinzel', Georgia, serif !important;
    color: #79551d !important;
    text-align: center !important;
    font-size: 24px !important;
}

#accountModal .modal-body {
    background: #fffdf7 !important;
    padding: 24px !important;
}

#accountModal label {
    color: #655536 !important;
}

#accountModal .form-control {
    background: #fffaf0 !important;
    color: #352d22 !important;
    border: 1px solid #d8c79f !important;
    border-radius: 4px !important;
    height: 42px !important;
}

#accountModal input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fffaf0 inset !important;
    -webkit-text-fill-color: #352d22 !important;
}

#accountModal .close {
    color: #79551d !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

#accountModal a {
    color: #947025 !important;
}

#accountModal a:hover {
    color: #594019 !important;
}

#accountModal .modal-footer {
    background: #fffdf7 !important;
    border-top: 1px solid #eadbb8 !important;
}

@media (max-width: 767px) {
    #accountModal .modal-dialog {
        width: auto !important;
        margin: 20px 15px !important;
    }
}