/* IPB-Style Unified Dark Theme */ 
body { 
    background-color: #11171f; /* Dark background for the main page */ 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    color: #c4d1de; /* Soft light text for readability */ 
    font-size: 14px; 
    margin: 0; 
    padding: 0; 
} 

/* Universal Links */ 
a { 
    color: #4a90e2; /* Standard IPB blue for links */ 
    text-decoration: none; 
    transition: color 0.2s ease; 
} 

a:hover { 
    color: #72aee6; 
} 

#container { 
    width: 90%; 
    max-width: 1400px; 
    margin: 30px auto; 
} 

#header { 
    background-color: #1d2633; 
    padding: 25px 5%; 
    color: #ffffff; 
    border-bottom: 1px solid #283445; /* Clean dividing line under the header */ 
} 

#logo { 
    color: #ffffff; 
    font-size: 26px; 
    font-weight: 700; 
    text-decoration: none; 
    letter-spacing: -0.5px; 
    display: block; 
    margin-bottom: 15px; 
} 

/* IPB Card Emulation - Dark Mode */ 
.tborder { 
    background: #1d2633; 
    border: 1px solid #283445; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
    margin-bottom: 25px; 
    border-collapse: separate; 
    border-spacing: 0; 
    overflow: hidden; 
    width: 100%; 
} 

.thead { 
    background: #1d2633; 
    color: #ffffff; 
    font-size: 16px; 
    font-weight: 600; 
    padding: 18px 20px; 
    border-bottom: 1px solid #283445; 
} 

.tcat { 
    background: #151c25; /* Slightly darker to contrast with the card body */ 
    color: #8b9eb3; 
    font-size: 12px; 
    font-weight: 600; 
    text-transform: uppercase; 
    padding: 12px 20px; 
    border-bottom: 1px solid #283445; 
} 

.trow1, .trow2 { 
    background: #1d2633; 
    padding: 18px 20px; 
    border-bottom: 1px solid #283445; 
    color: #c4d1de; 
} 

/* Remove bottom border from last row to prevent double borders */ 
.tborder tr:last-child td { 
    border-bottom: none; 
} 

/* IPB Blue Buttons */ 
.button, a.button { 
    background-color: #2161b5; 
    color: #ffffff !important; 
    border-radius: 4px; 
    padding: 10px 18px; 
    font-weight: 500; 
    border: none; 
    transition: background 0.2s ease; 
    cursor: pointer; 
    display: inline-block; 
} 

.button:hover, a.button:hover { 
    background-color: #1a4d90; 
} 

/* Breadcrumbs */ 
.navigation { 
    background: transparent; 
    padding: 10px 0; 
    font-size: 13px; 
    color: #8b9eb3; 
    margin-bottom: 20px; 
} 

.navigation a { 
    color: #ffffff; 
    text-decoration: none; 
    font-weight: 500; 
} 

.navigation a:hover { 
    color: #4a90e2; 
} 

/* ========================================= 
  IPB-Style Header Navigation & Links 
  ========================================= */ 

/* 1. Fix Link Contrast in the Header Area */ 
#header a, 
#panel a, 
.menu a { 
    color: #c4d1de !important; 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 14px; 
    transition: color 0.2s ease-in-out; 
} 

#header a:hover, 
#panel a:hover, 
.menu a:hover { 
    color: #ffffff !important; 
} 

/* 2. Unified Single Horizontal Row Navigation Menu */ 
.menu ul, 
#header ul { 
    display: flex !important; 
    flex-direction: row !important; 
    flex-wrap: nowrap !important; 
    justify-content: flex-start !important; 
    align-items: center !important; 
    list-style: none !important; 
    list-style-type: none !important; 
    margin: 15px 0 !important; 
    padding: 10px 0 !important; /* Removed side padding so it aligns flush left */ 
    gap: 25px !important; 
    background: transparent !important; /* Removes the background box for a seamless look */ 
} 

.menu ul li, 
#header ul li { 
    display: inline-flex !important; 
    margin: 0 !important; 
    padding: 0 !important; 
} 

/* Force the search bar container to behave below the menu */ 
#header form { 
    margin-top: 15px; 
    text-align: left; 
}

/* =========================================
  Clan Header Layout
  ========================================= */
.clan-header-wrapper {
    display: flex;
    justify-content: space-around;
    background-color: #1d2633; /* Matches the dark background */
    padding: 30px 20px;
    border-top: 1px solid #355969; /* A subtle blue top border */
    border-bottom: 1px solid #355969;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif; /* Change to your preferred font */
    text-align: center;
}

.clan-col {
    width: 45%;
}

.clan-title {
    color: #3b82a0; /* Muted blue for headers */
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.clan-item {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

/* Rank Styling */
.rank-title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.rank-title.founder { color: #C71B00; } /* Red */
.rank-title.leader { color: #ff3333; } /* Light Red */
.rank-title.highcouncil { color: #0F8700; } /* Dark Green */
.rank-title.officer { color: #F09005; } /* Orange */

.rank-name, .info-desc {
    color: #cccccc;
    font-size: 14px;
    margin-top: 5px;
}

.info-title {
    color: #5599bb; /* Blue for info headers */
    font-size: 18px;
    font-weight: bold;
}