/* ============================================
   DOCUMENT CORNER STYLES - ACCORDION EDITION
   ============================================ */
.document-corner-modern {
    background: #fdfdfd;
    color: #0f172a;
    font-family: 'Outfit', 'Inter', sans-serif;
}

/* Main Content Section */
.dc-main-content {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

/* Accordion Styles */
.dc-accordion {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dc-accordion-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dc-accordion-item.active {
    border-color: #2563eb;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.dc-accordion-header {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.dc-accordion-header:hover {
    background: #f8fafc;
}

.dc-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dc-header-left i {
    width: 24px;
    height: 24px;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 8px;
    border-radius: 12px;
    box-sizing: content-box;
}

.dc-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.chevron-icon {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dc-accordion-item.active .chevron-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

/* Accordion Body */
.dc-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.dc-accordion-item.active .dc-accordion-body {
    max-height: 2000px;
    /* Large enough for content */
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid #e2e8f0;
}

/* Document Pills Grid (2 Columns) */
.dc-doc-pill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 30px;
}

.dc-doc-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    /* Pill shape */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.dc-doc-pill:hover {
    border-color: #2563eb;
    background: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

.dc-pill-name {
    font-size: 18px;
    font-weight: 400;
    color: #475569;
    line-height: 1.4;
    flex: 1;
    transition: color 0.3s ease;
}

.dc-doc-pill:hover .dc-pill-name {
    color: #1e40af;
}

.dc-pill-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.dc-doc-pill:hover .dc-pill-icon {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.dc-pill-icon i {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 991px) {
    .dc-doc-pill-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dc-accordion {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .dc-accordion {
        padding: 0 0px;
    }

    .dc-category-title {
        font-size: 18px;
    }

    .dc-accordion-header {
        padding: 20px;
    }

    .dc-doc-pill-grid {
        padding: 0 20px;
    }

    .dc-pill-name {
        font-size: 16px;
    }

    .dc-doc-pill {
        padding: 12px 20px;
    }

    .dc-pill-icon {
        width: 34px;
        height: 34px;
    }
}