/* Tender Manager - Public Frontend Styles */
.tm-public-wrapper {
    margin: 0 auto;
    padding: 0px 0;
}

/* Title */
.tm-public-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.tm-public-title span {
    color: #e91e8c;
}

/* Table Wrapper */
.tm-public-table-wrap {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Table */
.tm-public-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

/* Header */
.tm-public-table thead tr {
    background: #fce4f3;
}

.tm-public-table thead th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #e91e8c;
    border-bottom: 2px solid #f0a0d0;
}

/* Rows */
.tm-public-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

.tm-public-table tbody tr:last-child {
    border-bottom: none;
}

.tm-public-table tbody tr:hover {
    background: #fdf5fb;
}

.tm-public-table tbody td {
    padding: 16px 18px;
    color: #333;
    vertical-align: middle;
}

/* Column widths */
.tm-col-sno {
    width: 70px;
    color: #555 !important;
    font-weight: 500;
}

.tm-col-name {
    color: #222 !important;
}

.tm-col-action {
    width: 160px;
    text-align: left;
}

/* PDF Download Button */
.tm-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.2s;
}

.tm-pdf-btn svg {
    color: #e91e8c;
    transition: transform 0.2s;
}

.tm-pdf-btn:hover {
    color: #e91e8c;
}

.tm-pdf-btn:hover svg {
    transform: translateY(2px);
}

/* No file */
.tm-no-file {
    color: #bbb;
}

/* Empty state */
.tm-public-empty {
    text-align: center;
    color: #888;
    padding: 40px;
    font-style: italic;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 600px) {
    .tm-public-title {
        font-size: 1.4rem;
    }

    .tm-public-table thead th,
    .tm-public-table tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .tm-col-sno {
        width: 45px;
    }

    .tm-col-action {
        width: 120px;
    }
}
