/* ============================================
   BREADCRUMBS SECTION
   ============================================ */

#breadcrumbs {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

#breadcrumbs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0 0 12px 0;
}

#breadcrumbs ol li {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#breadcrumbs ol li::after {
    content: '/';
    color: #999;
    font-weight: 300;
}

#breadcrumbs ol li:last-child::after {
    content: '';
}

#breadcrumbs ol li a {
    color: #e96b56;
    text-decoration: none;
    transition: color 0.3s ease;
}

#breadcrumbs ol li a:hover {
    color: #d25e4a;
    text-decoration: underline;
}

#breadcrumbs h2 {
    font-size: 2rem;
    color: #333;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

/* ============================================
   CLIENTS/NOTICES SECTION
   ============================================ */

#clients {
    padding: 60px 0;
    background: #fff;
}

#clients .section-title {
    text-align: center;
    margin-bottom: 40px;
}

#clients .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#clients .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e96b56;
    border-radius: 2px;
}

/* ============================================
   SEARCH INPUT
   ============================================ */

#myInput {
    background-image: url('/css/searchicon.png');
    background-position: 15px center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    padding: 14px 20px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#myInput:focus {
    outline: none;
    border-color: #e96b56;
    box-shadow: 0 0 0 3px rgba(233, 107, 86, 0.1);
    background-color: #fff;
}

#myInput::placeholder {
    color: #999;
}

/* ============================================
   NOTICES TABLE
   ============================================ */

.notices-table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #e0e0e0;
    font-size: 15px;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.notices-table th,
.notices-table td {
    text-align: left;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.notices-table thead tr {
    background: linear-gradient(135deg, #e96b56 0%, #d25e4a 100%);
    color: white;
}

.notices-table thead th {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-bottom: none;
}

.notices-table tbody tr {
    transition: all 0.2s ease;
}

.notices-table tbody tr:last-child td {
    border-bottom: none;
}

.notices-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateX(2px);
}

.notices-table tbody th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

/* ============================================
   NEW BADGE STYLING - FIXED SIZE
   ============================================ */

.new-badge {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    width: 35px;
    height: 16px;
    object-fit: contain;
}

/* ============================================
   TABLE LINKS
   ============================================ */

.notices-table a {
    color: #e96b56;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.notices-table a:hover {
    color: #d25e4a;
    gap: 8px;
}

.notices-table a i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.notices-table a:hover i {
    transform: translateX(3px);
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 991px) {
    #breadcrumbs h2 {
        font-size: 1.75rem;
    }

    #clients {
        padding: 50px 0;
    }

    #clients .section-title h2 {
        font-size: 32px;
    }

    .notices-table {
        font-size: 14px;
    }

    .notices-table th,
    .notices-table td {
        padding: 14px 16px;
    }

    .notices-table thead th {
        font-size: 15px;
    }

    .new-badge {
        width: 32px;
        height: 15px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
    #breadcrumbs {
        padding: 20px 0;
        margin-bottom: 30px;
    }

    #breadcrumbs h2 {
        font-size: 1.5rem;
    }

    #breadcrumbs ol li {
        font-size: 13px;
    }

    #clients {
        padding: 40px 0;
    }

    #clients .section-title {
        margin-bottom: 30px;
    }

    #clients .section-title h2 {
        font-size: 28px;
    }

    #myInput {
        padding: 12px 16px 12px 42px;
        font-size: 14px;
        background-size: 16px 16px;
        background-position: 12px center;
        margin-bottom: 25px;
    }

    /* Table wrapper for horizontal scroll */
    .notices-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .notices-table {
        font-size: 13px;
        min-width: 600px;
    }

    .notices-table th,
    .notices-table td {
        padding: 12px 14px;
    }

    .notices-table thead th {
        font-size: 14px;
    }

    .notices-table a {
        font-size: 13px;
    }

    .notices-table a i {
        font-size: 16px;
    }

    .new-badge {
        width: 30px;
        height: 14px;
        margin-right: 6px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
    #breadcrumbs {
        padding: 18px 0;
        margin-bottom: 25px;
    }

    #breadcrumbs h2 {
        font-size: 1.3rem;
    }

    #breadcrumbs ol li {
        font-size: 12px;
    }

    #clients {
        padding: 35px 0;
    }

    #clients .section-title h2 {
        font-size: 24px;
    }

    #clients .section-title h2::after {
        width: 60px;
        height: 2px;
    }

    #myInput {
        padding: 10px 14px 10px 38px;
        font-size: 13px;
        background-size: 14px 14px;
        background-position: 10px center;
        margin-bottom: 20px;
    }

    .notices-table {
        font-size: 12px;
        min-width: 550px;
    }

    .notices-table th,
    .notices-table td {
        padding: 10px 12px;
    }

    .notices-table thead th {
        font-size: 13px;
    }

    .notices-table a {
        font-size: 12px;
        gap: 4px;
    }

    .notices-table a i {
        font-size: 14px;
    }

    .new-badge {
        width: 28px;
        height: 13px;
        margin-right: 5px;
    }
}

/* ============================================
   SCROLLBAR STYLING (Optional)
   ============================================ */

.notices-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.notices-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.notices-table-wrapper::-webkit-scrollbar-thumb {
    background: #e96b56;
    border-radius: 4px;
}

.notices-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #d25e4a;
}
