/* Breadcrumb styles matching block.php */
.blk-breadcrumb {
    font-size: 16px;
    color: #333333;
    margin: -12px -12px 12px -12px;
    padding: 12px 20px;
    background-color: #8B4513;
    border-bottom: 2px solid black;
    box-shadow: 0 4px 0 rgba(0,0,0,0.3);
    display: block;
}
.blk-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}
.blk-breadcrumb a:hover {
    color: #ffeb3b;
    text-decoration: underline;
}
.blk-breadcrumb-separator {
    margin: 0 8px;
    color: #ffffff;
    font-weight: 600;
}
.blk-breadcrumb-current {
    color: #ffeb3b;
    font-weight: 700;
}
/* Welcome container - now inner content */
.welcome-container {
    background-color: #fbfbfa;
    border: 2px solid black;
    padding: 12px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* Title Bar */
.blk-title-bar {
    background-color: #fbfbfa;
    border: 2px solid black;
    padding: 12px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    margin-bottom: 0;
}

.blk-title-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.welcome-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    background-color: white;
    border: 2px solid #404040;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    padding: 12px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scrollbar-width: none !important;
}

body::-webkit-scrollbar {
    display: none !important;
}

.container {
    max-width: 800px;
    margin: 15px auto;
    padding: 12px;
    background-color: #A0826D;
    flex: 1;
    width: 100%;
    border: 2px solid black;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    margin-bottom: 12px;
}

h1 {
    font-size: 25px;
    color: #1a1a1a;
    text-align: center;
    margin: 20px 0 8px;
    font-weight: 800;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

section {
    margin: 12px 0;
}

section h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 12px 0;
}

.card {
    background-color: #f5f5f5;
    border: 2px solid black;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4ade80;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    border-color: #4ade80;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(74, 222, 128, 0.2), 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(-5deg);
}

.card h3 {
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-button {
    text-align: center;
    margin-top: 30px;
}

button {
    background-color: #4ade80;
    color: #1a1a1a;
    border: none;
    padding: 12px 32px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    border-radius: 0px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.4);
}

button:active {
    transform: translateY(-1px);
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
}

.database-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 0 0;
    background-color: #f3ede1;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid black;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.database-table thead {
    background-color: #8B4513;
    color: #ffeb3b;
}


.database-table th {
    padding: 12px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    background-color: #c9c689;
    color: #000000;
    border-bottom: 2px solid black;
}

.database-table th:nth-child(1),
.database-table td:nth-child(1) {
    width: 60px;
    text-align: center;
}
.database-table th:nth-child(2),
.database-table td:nth-child(2) {
    width: 160px;
    text-align: left;
}
.database-table th:nth-child(3),
.database-table td:nth-child(3) {
    width: 260px;
    text-align: left;
}
.database-table th:nth-child(4),
.database-table td:nth-child(4) {
    width: 80px;
    text-align: center;
}
.database-table th:nth-child(5),
.database-table td:nth-child(5) {
    width: 100px;
    text-align: center;
}

.database-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
}

.database-table tbody tr:hover {
    background-color: #e8dcd1;
    box-shadow: inset 3px 0 0 #8B4513;
}

.database-table td {
    padding: 12px 15px;
    font-size: 1rem;
    color: #3c2c1a;
}

.database-table .icon-cell {
    font-size: 1.5rem;
    font-weight: 600;
    width: 50px;
}

.database-table .status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 2px solid;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.status-badge.active {
    background-color: #4ade80;
    color: #ffffff;
    border-color: #16a34a;
}

.status-badge.inactive {
    background-color: #f87171;
    color: #ffffff;
    border-color: #dc2626;
}

/* Clickable table rows */
.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.clickable-row:hover {
    background-color: rgba(74, 222, 128, 0.1);
}

.clickable-row:active {
    background-color: rgba(74, 222, 128, 0.2);
}

/* Discord Section Styles */
.discord-bar {
    background-color: #36393f;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.discord-content {
    display: flex;
    align-items: center;
}

.discord-icon {
    background-color: #5865F2;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-img {
    width: 30px;
    height: 30px;
}

.discord-info {
    margin-left: 12px;
}

.discord-title {
    margin: 0;
    font-size: 18px;
    color: white;
}

.discord-stats {
    margin: 0;
    font-size: 14px;
    color: #b9bbbe;
}

.discord-btn {
    background-color: #5865F2;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.discord-btn:hover {
    background-color: #4752c4;
}

/* Table header column widths */
.icon-header {
    width: 60px;
}

.entries-header {
    width: 80px;
}

.status-header {
    width: 80px;
}

/* Table icons */
.table-icon {
    width: 32px;
    height: 32px;
}

/* Scrollbar hidden state */
body.scrollbar-hidden {
    overflow-y: hidden;
}
