/* ================================
   ACTE NORMATIVE - CIH Cahul
   Fișier: assets/css/pages/sindicate.css
================================ */

.acte-page {
    background: #f5f7fa;
    color: #1f2933;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

.acte-page *,
.acte-page *:before,
.acte-page *:after {
    box-sizing: border-box;
}

/* ================================
   HERO
================================ */

.acte-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 95px;
    background: linear-gradient(135deg, #0b3f5c 0%, #0d5b7c 55%, #11779e 100%);
    color: #ffffff;
}

.acte-hero:before {
    content: "";
    position: absolute;
    top: -140px;
    right: -140px;
    width: 430px;
    height: 430px;
    border-radius: 45px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
}

.acte-hero:after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -130px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.acte-hero-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.acte-label {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
}

.acte-page .acte-hero h1 {
    margin: 0 0 20px;
    font-size: 52px;
    line-height: 1.12;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.8px;
}

.acte-page .acte-hero p {
    margin: 0;
    max-width: 720px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.94) !important;
}

.acte-total-card {
    max-width: 360px;
    margin-left: auto;
    background: #ffffff;
    color: #1f2933;
    border-radius: 18px;
    padding: 34px 36px;
    box-shadow: 0 22px 50px rgba(5, 29, 43, 0.18);
}

.acte-total-card span {
    display: block;
    color: #52606d;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.acte-total-card strong {
    display: block;
    margin: 12px 0 8px;
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    color: #0d4f73;
}

.acte-total-card p {
    margin: 0;
    color: #627282;
    font-size: 15px;
}

/* ================================
   CONȚINUT
================================ */

.acte-content {
    padding: 60px 0 70px;
}

.acte-toolbar {
    margin-top: -100px;
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(15, 61, 94, 0.10);
    border: 1px solid #edf2f7;
}

.acte-search-box {
    position: relative;
}

.acte-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0f6f8f;
    font-size: 17px;
}

.acte-search-box .form-control {
    height: 48px;
    padding-left: 45px;
    border-radius: 9px;
    border: 1px solid #d7e0e7;
    box-shadow: none;
    color: #1f2933;
    font-size: 15px;
}

.acte-search-box .form-control:focus {
    border-color: #0f6f8f;
    box-shadow: 0 0 0 3px rgba(15, 111, 143, 0.10);
}

.acte-info-box {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #52606d;
    font-weight: 600;
}

.acte-info-box i {
    margin-right: 8px;
    color: #0f6f8f;
    font-size: 18px;
}

/* ================================
   NAVIGAȚIE CATEGORII
================================ */

.acte-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.acte-category-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #334e68;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #e5edf2;
    box-shadow: 0 8px 22px rgba(15, 61, 94, 0.05);
    transition: all 0.2s ease-in-out;
}

.acte-category-nav a:hover,
.acte-category-nav a:focus {
    color: #0f6f8f;
    border-color: #cfe2eb;
    background: #f8fcfe;
    text-decoration: none;
    transform: translateY(-2px);
}

.acte-category-nav a i {
    color: #0f6f8f;
}

.acte-category-nav a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 20px;
    background: #eaf4f8;
    color: #0d5b7c;
    font-size: 12px;
    font-weight: 800;
}

/* ================================
   CATEGORII DOCUMENTE
================================ */

.acte-category-section {
    margin-bottom: 42px;
}

.acte-category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.acte-category-header > div:first-child {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 14px;
    background: #eaf4f8;
    color: #0f6f8f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.acte-category-header h2 {
    margin: 0 0 4px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
    color: #1f2933;
}

.acte-category-header p {
    margin: 0;
    color: #627282;
    font-size: 15px;
}

/* ================================
   LISTĂ DOCUMENTE
================================ */

.acte-documents-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.acte-document-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5edf2;
    box-shadow: 0 10px 26px rgba(15, 61, 94, 0.06);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.acte-document-card:hover,
.acte-document-card:focus {
    text-decoration: none;
    border-color: #cfe2eb;
    box-shadow: 0 16px 36px rgba(15, 61, 94, 0.11);
    transform: translateY(-3px);
    background: #fbfdfe;
}

.acte-document-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: #0f6f8f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.acte-document-content h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    color: #1f2933;
}

.acte-document-card:hover h3,
.acte-document-card:focus h3 {
    color: #0f6f8f;
}

.acte-document-content span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0d5b7c;
    font-size: 14px;
    font-weight: 700;
}

.acte-document-content span i {
    font-size: 13px;
}

/* ================================
   EMPTY / NO RESULTS
================================ */

.acte-empty-state,
.acte-no-results {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px 30px;
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5edf2;
    box-shadow: 0 12px 32px rgba(15, 61, 94, 0.08);
}

.acte-empty-state i,
.acte-no-results i {
    font-size: 44px;
    color: #0f6f8f;
    margin-bottom: 18px;
}

.acte-empty-state h2,
.acte-no-results h3 {
    margin: 0 0 10px;
    font-weight: 800;
    color: #1f2933;
}

.acte-empty-state p,
.acte-no-results p {
    margin: 0;
    color: #627282;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1199px) {
    .acte-page .acte-hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 991px) {
    .acte-hero {
        padding: 70px 0 110px;
    }

    .acte-hero-row {
        display: block;
    }

    .acte-page .acte-hero h1 {
        font-size: 38px;
    }

    .acte-total-card {
        margin-top: 34px;
        margin-left: 0;
        max-width: 100%;
    }

    .acte-toolbar {
        margin-top: -85px;
    }

    .acte-info-box {
        justify-content: flex-start;
        margin-top: 16px;
    }
}

@media (max-width: 767px) {
    .acte-hero {
        padding: 55px 0 95px;
    }

    .acte-page .acte-hero h1 {
        font-size: 31px;
        line-height: 1.2;
    }

    .acte-page .acte-hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .acte-total-card {
        padding: 28px;
    }

    .acte-total-card strong {
        font-size: 42px;
    }

    .acte-content {
        padding: 42px 0 55px;
    }

    .acte-toolbar {
        padding: 20px;
        margin-top: -78px;
        margin-bottom: 26px;
    }

    .acte-category-nav {
        gap: 10px;
    }

    .acte-category-nav a {
        width: 100%;
        justify-content: space-between;
    }

    .acte-category-header {
        align-items: flex-start;
    }

    .acte-category-header h2 {
        font-size: 23px;
    }

    .acte-document-card {
        padding: 18px;
        gap: 14px;
    }

    .acte-document-content h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .acte-label {
        font-size: 12px;
        padding: 7px 13px;
    }

    .acte-page .acte-hero h1 {
        font-size: 28px;
    }

    .acte-category-header > div:first-child {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 22px;
    }

    .acte-document-number {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }
}