/* Custom color variables */
:root {
    --st-jago-green: #006400;
    --st-jago-gold: #FFD700;
}

/* General styles */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    background-color: #f8f9fa;
}

/* Header styles */
.navbar {
    background-color: var(--st-jago-green);
    border-bottom: 3px solid var(--st-jago-gold) !important;
}

.navbar-brand {
    font-weight: bold;
    color: var(--st-jago-gold) !important;
}

/* Footer styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    background-color: var(--st-jago-green);
    color: white !important;
    border-top: 3px solid var(--st-jago-gold);
}

.footer a {
    color: var(--st-jago-gold);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Card styles */
.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    background-color: #fff;
    border-bottom: 2px solid #eee;
}

/* Team colors */
.team-color {
    border: 2px solid #fff;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    display: inline-block;
    vertical-align: middle;
}

/* Match styles */
.match-box {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vs-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6c757d;
}

/* Score display */
.score-display {
    font-size: 2rem;
    font-weight: bold;
    color: #343a40;
}

/* Badge styles */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Priority colors */
.bg-info { background-color: #17a2b8 !important; }
.bg-warning { background-color: #ffc107 !important; }
.bg-danger { background-color: #dc3545 !important; }
.bg-primary { background-color: #007bff !important; }
.bg-secondary { background-color: #6c757d !important; }

/* Form styles */
.form-control:focus {
    border-color: var(--st-jago-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 100, 0, 0.25);
}

/* Button styles */
.btn-primary {
    background-color: var(--st-jago-green);
    border-color: var(--st-jago-green);
}

.btn-primary:hover {
    background-color: #004d00;
    border-color: #004d00;
}

/* Markdown content */
.markdown-content {
    line-height: 1.6;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.markdown-content p:last-child {
    margin-bottom: 0;
}

.markdown-content code {
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}
/* Table styles */
.table {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Loading spinner */
.spinner-border {
    color: var(--st-jago-green);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.bulletin-preview {
    background-color: #f8f9fa;
}

.update-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.stat-card {
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.table td,
.table th {
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .card {
        margin-bottom: 15px;
    }

    .table-responsive {
        margin-bottom: 15px;
    }
}

.text-custom {
    color: #2d5016;
}
.bg-custom {
    background-color: var(--st-jago-green);
}
.text-bg-custom {
    background-color: var(--st-jago-green);
    color: white;
}
.btn-custom {
    background-color: var(--st-jago-green);
    color: #ffd700;
}
.btn-custom {
    background-color: #2d5016;
    border-color: #2d5016;
    color: #ffd700;
}
 
.btn-custom:hover {
    background-color: #1f3810;
    border-color: #1f3810;
    color: #ffd700;
}

.btn-outline-custom {
    color: #2d5016;
    border-color: #2d5016;
}

.btn-outline-custom:hover {
    background-color: #2d5016;
    border-color: #2d5016;
    color: #ffd700;
}
