/* ===============================
   მინიმალისტური ღია დიზაინი ავტორი: Giorgi Bluashvili / Rabati Tickets
   =============================== */

body {
    background: #f9fafc;
    font-family: 'Segoe UI', 'Noto Sans Georgian', sans-serif;
    color: #222;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: #111;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- ბარათები / Cards --- */
.card {
    background: #0001;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 1.5rem;
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.row.g-3 > [class*="col-"] {
    display: flex;
}
.row.g-3 .card {
    flex: 1;
}

/* --- ტექსტის ფერები და სტილები --- */
.text-muted {
    color: #6c757d !important;
}

.stat-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* --- ღილაკები --- */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: 0.25s;
}

.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    border: none;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* --- მოდალი (ყველა ქვეყანა) --- */
#allCountriesModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ცხრილი (ქვეყნები) --- */
.table {
    border-collapse: collapse;
    width: 100%;
}

.table th {
    background: #f1f3f6;
    font-weight: 600;
    color: #444;
    padding: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9fafc;
}

/* --- ზოგადი hover ეფექტები --- */
a, button {
    cursor: pointer;
}

button:focus, a:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* --- Responsive (მობილური მოწყობილობები) --- */
@media (max-width: 768px) {
    .card {
        padding: 1rem;
    }
    .modal-content {
        padding: 1rem;
        width: 95%;
    }
}