/* ================= RESET ================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #eef3f9;
    color: #2c2c2c;
}

/* ================= TOP BAR ================= */
.main-top {
    background: #2f62b3;
    color: #fff;
    font-size: 13px;
}

.main-top-inner {
    display: flex !important;
    align-items: center;
    width: 100%;
}

.main-top-left-menus {
    display: flex;
    gap: 20px;
}

.main-top-left-menus li {
    list-style: none;
}

.main-top-left-menus a {
    color: #fff;
    font-size: 13px;
}

.contacts {
    margin: 0 auto;
    display: flex;
    gap: 18px;
    white-space: nowrap;
}

.main-top-user {
    display: flex;
    gap: 14px;
    margin-left: auto;
}

.main-top-user li {
    list-style: none;
}

.main-top-user a {
    color: #fff;
    font-size: 13px;
}
.main-top-inner.row {
    margin-left: 0;
    margin-right: 0;
}

.content-block > form {
    text-align: right;
    margin-bottom: 12px;
}



/* ================= MAIN MENU ================= */
.main-top-menu {
    background: #f6f9fc;
    border-bottom: 1px solid #dfe6f1;
}

.main-logo {
    float: left;
    padding: 15px;
}

.main-menu {
    padding: 20px 15px;
}

.main-menu .nav {
    display: flex;
    gap: 20px;
}

.main-menu .nav-link {
    font-weight: 500;
    color: #1f2d3d;
    padding: 8px 12px;
}

.main-menu .nav-link:hover {
    color: #2f63ad;
}


/* ================= SEARCH ================= */
.search-container {
    margin: 30px 0;
}

.search-block {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.search-form {
    display: flex;
    gap: 10px;
}

.searchInput {
    flex: 1;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #d0d7e5;
}

/* ================= CONTENT BLOCK ================= */
.content-block {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* ================= TABS ================= */
.content-tabs {
    display: flex;
    border-bottom: 1px solid #e0e6f0;
    margin-bottom: 15px;
}

.content-tabs .tab {
    padding: 10px 20px;
    cursor: pointer;
    color: #1f3c88;
}

.content-tabs .tab.active {
    border-bottom: 3px solid #1f3c88;
    font-weight: 600;
}

/* ================= PAGINATION ================= */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pagination span,
.pagination a {
    margin-right: 5px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #eef3f9;
    color: #1f3c88;
    text-decoration: none;
}

.pagination .active {
    background: #1f3c88;
    color: #fff;
}

/* ================= ORDER LIST ================= */
.OrderList {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-row {
    display: grid;
    grid-template-columns: 130px 1.5fr 1fr 2fr 2fr 1fr 1fr 1fr;
    gap: 15px;
    background: #f7f9fc;
    padding: 15px;
    border-radius: 6px;
    font-size: 12px;
}

.order-row:nth-child(even) {
    background: #eef3f9;
}

.order-row b {
    display: block;
    font-size: 12px;
    color: #7a869a;
}

.nameTender {
    color: #1f3c88;
    font-weight: 600;
}

/* ================= FOOTER ================= */
.main-footer-copyright {
    background: #2f62b3;
    color: #fff;
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}
/* ===== Pagination center ===== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nameTender a {
    color: #1f3c88;
    font-weight: 600;
    text-decoration: none;
}

.nameTender a:hover {
    text-decoration: underline;
    color: #0d2c6d;
}

/* ===== VIEW PAGE ===== */

/* ===== Boxed layout как на zakupki.gov.kg ===== */
/* ===== Boxed container with borders ===== */
.boxed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    background: #ffffff;
    border: 1px solid #dce3eb;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}


/* фон страницы */
.page {
    background: #eef3f7; /* как у портала */
    padding: 20px 0;
}

@media (max-width: 1400px) {
    .boxed-container {
        max-width: 1100px;
    }
}


/* центральная ширина как у портала */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* карточки */
.container-content {
    background: #ffffff;
    border-radius: 4px;
    padding: 22px 26px;
    margin-bottom: 25px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* заголовки секций */
.label-group-view-public-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2c5aa0;
    margin: 25px 0 10px;
}

/* поля */
.label {
    display: block;
    font-size: 13px;
    color: #7a7a7a;
    margin-bottom: 4px;
}

.text {
    display: block;
    font-size: 14px;
    color: #1f1f1f;
    font-weight: 500;
    line-height: 1.4;
}

/* строки */
.container-content .row > div {
    margin-bottom: 14px;
}

/* заголовок страницы */
.ThePageTitle {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* кнопка назад */
.button-grey {
    display: inline-block;
    padding: 6px 14px;
    background: #f2f2f2;
    border-radius: 3px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
}
.button-grey:hover {
    background: #e6e6e6;
    text-decoration: none;
}

/* ===== LOTS ===== */
.lots-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.lots-table th {
    background: #f4f6f8;
    color: #555;
    font-weight: 600;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.lots-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

/* footer */
.main-footer-copyright {
    background: #2c5aa0;
    color: #fff;
    padding: 20px 0;
    margin-top: 40px;
}
.container-fluid {
        padding-right: 15px;
        padding-left: 15px;
}

.container-fluid {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.main-logo {
    display: flex;
    align-items: center;
}

.main-logo img {
    height: 65px;          /* оптимально для хедера */
    width: auto;
    display: block;
}

.lots-badge {
    display: inline-block;
    margin-left: 6px;
    color: #28a745;
    font-size: 14px;
    vertical-align: middle;
}
