/* =========================================================
DOCUMENTE – FINAL CLEAN
========================================================= */


/* =========================================================
GRID
========================================================= */
.documente-page .grid-auto{
    gap:20px;
}

@media (max-width:768px){
    .documente-page .grid-auto{
        gap:15px;
    }
}


/* =========================================================
TEXT
========================================================= */
.documente-page p{
    color:var(--text-light);
    font-size:14px;
    line-height:1.5;
}


/* =========================================================
SECTION TITLES
========================================================= */
.section-title{
    margin-bottom:10px;
}

.documente-page h2{
    margin-top:30px;
}

.documente-page .mb-5{
    border-bottom:1px solid #e5e7eb;
    padding-bottom:25px;
}


/* =========================================================
CARD
========================================================= */
.card.document-card{
    background:#fff;
    border-radius:16px;
    padding:18px;
    border:1px solid #f1f5f9;

    box-shadow:0 6px 20px rgba(0,0,0,0.06);

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    min-height:180px;
    transition:.2s ease;
}

.card.document-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}


/* =========================================================
DOCUMENT CONTENT
========================================================= */
.doc-title{
    font-weight:600;
    font-size:15px;
    color:#111827;
    margin-bottom:6px;

    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}

.doc-desc{
    font-size:13px;
    color:#6b7280;
    margin-bottom:8px;
    line-height:1.4;
}

.doc-meta{
    font-size:12px;
    color:#9ca3af;
    margin-bottom:12px;
}


/* =========================================================
BADGE
========================================================= */
.badge-new{
    background:#ef4444;
    color:#fff;
    font-size:11px;
    padding:2px 6px;
    border-radius:6px;
}


/* =========================================================
ACTIONS
========================================================= */
.doc-actions{
    display:flex;
    gap:10px;
    margin-top:auto;
}

.doc-actions-center{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.doc-actions .btn{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;

    font-size:13px;
    padding:8px 10px;
    border-radius:10px;
}


/* =========================================================
BUTTONS
========================================================= */
.btn{
    display:inline-flex;
    align-items:center;
    gap:8px;

    min-height:42px;

    padding:10px 16px;
    border-radius:10px;

    font-weight:600;
    font-size:14px;

    transition:.2s;
}

.btn svg{
    width:16px;
    height:16px;
}

/* primary */
.btn-primary{
    background:linear-gradient(135deg,#1e40af,#2563eb);
    color:#fff;
    border:none;
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(37,99,235,0.3);
}

/* outline */
.btn-outline{
    border:2px solid #2563eb;
    color:#2563eb;
    background:#fff;
}

.btn-outline:hover{
    background:#2563eb;
    color:#fff;
}


/* =========================================================
BREADCRUMB
========================================================= */
.breadcrumb-section{
    padding:15px 0 5px;
}

.breadcrumb{
    font-size:14px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
}

.breadcrumb a{
    color:#2563eb;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:4px;
}

.breadcrumb a:hover{
    text-decoration:underline;
}

.breadcrumb-sep{
    color:#9ca3af;
}

.breadcrumb-current{
    color:#111827;
    font-weight:500;
    display:flex;
    align-items:center;
    gap:4px;
}


/* =========================================================
MODAL PREVIEW FULLSCREEN
========================================================= */
.doc-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.85);
    display:none;
    z-index:9999;
}

.doc-modal.active{
    display:block;
}

.doc-modal-header{
    position:absolute;
    top:10px;
    right:20px;
    z-index:10;
}

.doc-close{
    background:rgba(0,0,0,0.6);
    color:#fff;
    border:none;

    font-size:22px;
    width:42px;
    height:42px;

    border-radius:50%;
    cursor:pointer;
    transition:.2s;
}

.doc-close:hover{
    background:#ef4444;
}

.doc-frame{
    width:100%;
    height:100vh;
    border:none;
    background:#111;
}

/* =========================================================
DOCUMENTE – SPACING FINAL FIX
========================================================= */

.documente-page .section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.documente-page .section-title {
    margin-bottom: 35px;
}

.documente-page .grid-cards {
    margin-top: 10px;
}