/* ------------------------------------
   GLOBAL
------------------------------------ */
body {
    background: #f5f7fa;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
}

.main-offset {
    padding-top: 5rem; /* заради fixed-top navbar */
}

.starter-template {
    padding: 1.5rem 0 2.5rem 0;
}

/* ------------------------------------
   NAVBAR
------------------------------------ */
.navbar {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.navbar-nav .nav-link {
    font-size: 0.9rem;
    line-height: 1.2rem;
    padding: 0.35rem 0.6rem;
}

.nav-item.active .nav-link {
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
}

/* ------------------------------------
   SEARCH
------------------------------------ */
.search_text {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #bbb;
    font-size: 1rem;
    transition: 0.2s;
}

.search_text:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 4px rgba(13,110,253,0.4);
    outline: none;
}

.search_button {
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
}

/* ------------------------------------
   RESULTS CARD / TABLE
------------------------------------ */
.table_parametri {
    background: #fff;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: none;
}

.table_parametri .middle {
    padding: 18px 18px 20px 18px;
}

.results-left {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 12px;
}

.results-right {
    padding-left: 18px;
}

.results-left .list-group-item {
    background: transparent;
    font-size: 0.95rem;
}

.word-link {
    font-weight: 500;
}

/* ------------------------------------
   RIGHT COLUMN BOX
------------------------------------ */
.card .lead {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* ------------------------------------
   FLAGS
------------------------------------ */
img.flag {
    margin-right: 6px;
    vertical-align: middle;
}

/* ------------------------------------
   RESPONSIVE
------------------------------------ */
@media (max-width: 767.98px) {

    .navbar-nav .nav-link {
        font-size: 0.85rem;
    }

    .results-left {
        max-height: 220px;
        margin-bottom: 10px;
        border-right: none !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .results-right {
        padding-left: 0;
        padding-top: 10px;
    }

    .table_parametri .middle {
        padding: 14px;
    }
}
