.procurement-tenders-list {
    margin: 1.25rem 0;
}

.procurement-tenders-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.procurement-tender-item {
    margin: 0;
    padding: 1.1rem;
    background: #ffffff;
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(14, 20, 33, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.procurement-tender-item:hover {
    transform: translateY(-2px);
    border-color: #d5deea;
    box-shadow: 0 8px 24px rgba(14, 20, 33, 0.1);
}

.procurement-tender-title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #0f172a;
    font-weight: 600;
}

.procurement-tender-deadline {
    margin: 0;
    font-size: 0.9rem;
    color: #3b4a62;
    font-weight: 500;
}

.procurement-tender-content {
    color: #4f5d75;
    font-size: 0.94rem;
    line-height: 1.55;
}

.procurement-tender-content p {
    margin: 0 0 0.5rem;
}

.procurement-tender-content p:last-child {
    margin-bottom: 0;
}

.procurement-tender-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.56rem 0.9rem;
    border-radius: 9px;
    border: 1px solid #0f172a;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.procurement-tender-button:hover,
.procurement-tender-button:focus {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
}

.procurement-tender-details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.35rem;
    padding: 0.56rem 0.9rem;
    border-radius: 9px;
    border: 1px solid #d0d8e4;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.procurement-tender-details-button:hover,
.procurement-tender-details-button:focus {
    background: #f8fafc;
    border-color: #b8c4d7;
}

.procurement-tenders-empty {
    border: 1px solid #e7ebf1;
    background: #f8fafc;
    color: #4f5d75;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin: 1.25rem 0;
    font-size: 0.94rem;
}

.procurement-tender-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.procurement-tender-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.procurement-tender-modal-dialog {
    position: relative;
    margin: 7vh auto 0;
    width: min(720px, calc(100% - 2rem));
    max-height: 86vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.1rem 1.2rem 1rem;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.24);
}

.procurement-tender-modal-title {
    margin: 0;
    color: #0f172a;
    font-size: 1.2rem;
    line-height: 1.35;
}

.procurement-tender-modal-deadline {
    margin: 0.45rem 0 0.85rem;
    color: #475569;
    font-weight: 500;
}

.procurement-tender-modal-body {
    color: #334155;
    line-height: 1.6;
}

.procurement-tender-modal-body p {
    margin: 0 0 0.72rem;
}

.procurement-tender-modal-close {
    position: absolute;
    top: 0.42rem;
    right: 0.62rem;
    border: 0;
    background: transparent;
    font-size: 1.65rem;
    color: #64748b;
    line-height: 1;
    cursor: pointer;
}

.procurement-modal-open {
    overflow: hidden;
}
