.tenders-page {
    background:
        radial-gradient(circle at top left, rgba(51, 102, 204, 0.09), transparent 28%),
        linear-gradient(180deg, #f6f9fd 0%, #edf3f9 100%);
}

.tenders-hero {
    position: relative;
    padding: 74px 0 72px;
    overflow: clip;
}

.tenders-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(7, 36, 74, 0.88), rgba(18, 62, 114, 0.74)),
        url("../assets/HayRiad3.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.tenders-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
        radial-gradient(circle at 50% 0%, rgba(154, 201, 255, 0.22), transparent 36%);
    pointer-events: none;
}

.tenders-hero-inner,
.tenders-section-heading[data-reveal],
.tenders-table-shell[data-reveal],
.tenders-regulation-card[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.tenders-hero-inner.is-visible,
.tenders-section-heading.is-visible,
.tenders-table-shell.is-visible,
.tenders-regulation-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tenders-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.tenders-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tenders-breadcrumbs a,
.tenders-breadcrumbs span {
    color: rgba(255, 255, 255, 0.82);
}

.tenders-breadcrumbs a:hover,
.tenders-breadcrumbs a:focus-visible {
    color: #ffffff;
}

.tenders-hero-eyebrow {
    margin: 0 0 18px;
    font-family: "Manrope", sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(219, 235, 255, 0.9);
}

.tenders-hero-title {
    margin: 0 0 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tenders-hero-text {
    margin: 0 auto;
    max-width: 64ch;
    font-size: 1.06rem;
    line-height: 1.88;
    color: rgba(255, 255, 255, 0.92);
}

.tenders-list-section {
    position: relative;
    padding: 54px 0 40px;
}

.tenders-section-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.tenders-section-label {
    margin: 0 0 12px;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #2d5f9a;
}

.tenders-section-title,
.tenders-regulation-title {
    margin: 0 0 16px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 3.3vw, 3.2rem);
    font-weight: 600;
    line-height: 1.12;
    color: #0b2d52;
}

.tenders-section-text,
.tenders-regulation-text {
    margin: 0 auto;
    max-width: 66ch;
    font-size: 1rem;
    line-height: 1.82;
    color: rgba(7, 27, 53, 0.74);
}

.tenders-table-shell {
    padding: 18px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 253, 0.98)),
        #ffffff;
    border: 1px solid rgba(11, 45, 82, 0.08);
    box-shadow: 0 24px 54px rgba(8, 28, 55, 0.08);
}

.tenders-table-scroll {
    overflow-x: auto;
}

.tenders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    overflow: hidden;
    border-radius: 24px;
}

.tenders-table thead th {
    padding: 20px 24px;
    background: linear-gradient(135deg, #0d3761, #184f83);
    font-family: "Manrope", sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    color: #ffffff;
}

.tenders-table tbody tr {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(11, 45, 82, 0.08);
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.tenders-table tbody tr:hover {
    background: #f5faff;
    box-shadow: inset 0 0 0 1px rgba(53, 123, 196, 0.08);
}

.tenders-table tbody td {
    padding: 24px;
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(7, 27, 53, 0.86);
    vertical-align: middle;
}

.tenders-table tbody td:first-child {
    font-weight: 600;
    color: #0b2d52;
    width: 55%;
    max-width: 550px;
}


.tenders-deadline {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(24, 79, 131, 0.08);
    border: 1px solid rgba(24, 79, 131, 0.12);
    font-family: "Manrope", sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    color: #17446f;
}

.tenders-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tenders-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: "Manrope", sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tenders-action:hover,
.tenders-action:focus-visible {
    transform: translateY(-2px);
}

.tenders-action-primary {
    background: linear-gradient(135deg, #0d3761, #215a92);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 62, 111, 0.16);
}

.tenders-action-primary:hover,
.tenders-action-primary:focus-visible {
    background: linear-gradient(135deg, #0a2b4c, #184a77);
    color: #ffffff;
}

.tenders-action-secondary {
    background: rgba(239, 247, 255, 0.92);
    border-color: rgba(24, 79, 131, 0.14);
    color: #123d69;
}

.tenders-action-secondary:hover,
.tenders-action-secondary:focus-visible {
    background: #ffffff;
    border-color: rgba(24, 79, 131, 0.28);
    box-shadow: 0 12px 24px rgba(18, 61, 105, 0.08);
    color: #0d3761;
}

.tenders-regulation-section {
    padding: 12px 0 88px;
}

.tenders-regulation-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 44px 36px;
    border-radius: 34px;
    text-align: center;
    background:
        radial-gradient(circle at top center, rgba(137, 186, 237, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 253, 0.98));
    border: 1px solid rgba(11, 45, 82, 0.08);
    box-shadow: 0 22px 48px rgba(8, 28, 55, 0.08);
}

.tenders-regulation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 288px;
    min-height: 56px;
    margin-top: 28px;
    padding: 14px 28px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(11, 45, 82, 0.1);
    box-shadow: 0 18px 34px rgba(12, 41, 74, 0.08);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0d3761;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.tenders-regulation-button:hover,
.tenders-regulation-button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(24, 79, 131, 0.24);
    background: #f7fbff;
    color: #184f83;
    box-shadow: 0 20px 36px rgba(12, 41, 74, 0.12);
}

@media (max-width: 920px) {
    .tenders-hero {
        padding: 58px 0 56px;
    }

    .tenders-table thead th,
    .tenders-table tbody td {
        padding-inline: 18px;
    }

    .tenders-regulation-card {
        padding: 36px 28px;
    }
}

@media (max-width: 760px) {
    .tenders-table {
        min-width: 100%;
    }

    .tenders-table thead {
        display: none;
    }

    .tenders-table,
    .tenders-table tbody,
    .tenders-table tr,
    .tenders-table td {
        display: block;
        width: 100%;
    }

    .tenders-table tbody {
        display: grid;
        gap: 14px;
    }

    .tenders-table tbody tr {
        border: 1px solid rgba(11, 45, 82, 0.08);
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 16px 32px rgba(8, 28, 55, 0.06);
    }

    .tenders-table tbody td {
        padding: 16px 18px;
        border-bottom: 1px solid rgba(11, 45, 82, 0.06);
    }

    .tenders-table tbody td:last-child {
        border-bottom: 0;
    }

    .tenders-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 8px;
        font-family: "Manrope", sans-serif;
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #2d5f9a;
    }
}

@media (max-width: 680px) {
    .tenders-hero {
        padding: 50px 0 48px;
    }

    .tenders-breadcrumbs {
        gap: 8px;
        padding: 8px 14px;
        font-size: 0.72rem;
    }

    .tenders-hero-title {
        letter-spacing: 0.05em;
    }

    .tenders-list-section {
        padding: 42px 0 32px;
    }

    .tenders-table-shell,
    .tenders-regulation-card {
        padding: 22px 18px;
        border-radius: 26px;
    }

    .tenders-actions {
        flex-direction: column;
    }

    .tenders-action,
    .tenders-regulation-button {
        width: 100%;
        min-width: 0;
    }
}

.is-rtl .tenders-hero-inner,
.is-rtl .tenders-section-heading,
.is-rtl .tenders-table-shell,
.is-rtl .tenders-regulation-card {
    text-align: right;
}

.is-rtl .tenders-breadcrumbs {
    flex-direction: row-reverse;
}

.is-rtl .tenders-table thead th {
    text-align: right;
}

.is-rtl .tenders-actions {
    justify-content: flex-end;
}

@media (max-width: 760px) {
    .is-rtl .tenders-table tbody td::before {
        text-align: right;
    }
}
