.branchoffice-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.entity-header {
    background: linear-gradient(135deg, #e7e5e1 0%, #e7e5e1 100%);
    color: rgb(0, 0, 0);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    margin-top: -60px;
}

.entity-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="10" cy="10" r="1" fill="url(%23a)"><animate attributeName="opacity" dur="3s" values="0;1;0" repeatCount="indefinite"/></circle><circle cx="30" cy="5" r="1" fill="url(%23a)"><animate attributeName="opacity" dur="3s" values="0;1;0" repeatCount="indefinite" begin="1s"/></circle><circle cx="60" cy="15" r="1" fill="url(%23a)"><animate attributeName="opacity" dur="3s" values="0;1;0" repeatCount="indefinite" begin="2s"/></circle><circle cx="80" cy="8" r="1" fill="url(%23a)"><animate attributeName="opacity" dur="3s" values="0;1;0" repeatCount="indefinite" begin="0.5s"/></circle></svg>') repeat;
    opacity: 0.3;
}

.entity-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeInDown 1s ease-out;
}

.entity-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}



.description-card {

    border-left: 5px solid #dcdcdc;

}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.description-card .card-body {
    padding: 40px;
}

.description-card h2 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.description-card h2::before {
    content: "📋";
    font-size: 1.5rem;
}



.table-card {
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.table-card .card-header {
    background: linear-gradient(135deg, #e7e5e1 0%, #e7e5e1 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.table-card .card-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.table-card .card-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.table-responsive {
    padding: 0;
}

.entity-table {
    margin: 0;
    font-size: 0.95rem;
}

.entity-table thead {
    background: linear-gradient(135deg, #4c63d2 0%, #5a67d8 100%);
    color: white;
}

.entity-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    border: none;
    position: relative;
}

.entity-table th::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.entity-table th:last-child::after {
    display: none;
}

.entity-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.entity-table tbody tr:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.entity-table td {
    padding: 18px 15px;
    border-right: 1px solid #e2e8f0;
    vertical-align: top;
    border-top: none;
}

.entity-table td:last-child {
    border-right: none;
}


.required-yes {
    background: linear-gradient(135deg, #6298D1 0%, #6298D1 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px;
}

.required-no {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.3);
}

.field-name {
    font-weight: 700;
    color: #000000;
    font-size: 1rem;
}

.data-type {
    background: linear-gradient(135deg, #8eade5 0%, #8eade5 100%);
    color: rgb(0, 0, 0);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.highlight-note {
    background: linear-gradient(135deg, #dcdcdc 0%, #dcdcdc 100%);
    border: 2px solid #dcdcdc;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    /* animation: pulse 2s infinite; */
    position: relative;
}

.highlight-note::before {
    content: "⚠️";
    font-size: 1.5rem;
    margin-right: 10px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.highlight-note strong {
    color: #d97706;
}

.breadcrumb-nav {
    /* background: rgba(255, 255, 255, 0.9); */
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 30px;
    margin-top: -10px;
}

.breadcrumb {
    margin: 0;
    background: none;
}

.breadcrumb-item a {
    color: #149ddd;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #64748b;
}

@media (max-width: 768px) {
    .entity-title {
        font-size: 2.5rem;
    }

    .entity-header {
        padding: 40px 0;
    }

    .content-card .card-body {
        padding: 20px;
    }

    .entity-table th,
    .entity-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
}



.code-section {
    background: #f8f9fa;
    border-left: 5px solid #149ddd;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
}

.code-section::before {
    content: "👤";
    font-size: 1.5rem;
    position: absolute;
    top: 15px;
    left: 15px;
}
.code-section-response::before {
    content: "🔗";
    font-size: 1.5rem;
    position: absolute;
    top: 15px;
    left: 15px;
}
.code-section h4 {
    color: #000000;
    margin-bottom: 20px;
    padding-left: 40px;
    font-weight: 600;
}

.json-code {
    background: #2d3748;
    color: #e2e8f0;
    padding: 25px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
    margin-top: 20px;
    border: 1px solid #4a5568;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.json-key {
    color: #81c784;
}

.json-string {
    color: #ffb74d;
}

.json-brace {
    color: #64b5f6;
    font-weight: bold;
}

.section-list {
    margin: 20px 0;
    padding-left: 0;
}

.section-list li {
    list-style: none;
    margin: 15px 0;
    padding: 15px;
    background: white;
    border-left: 4px solid #149ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.section-list li strong {
    color: #000000;
    font-weight: 700;
}

.operation-items li {
    transition: transform 0.2s ease;
}

.operation-items li:hover {
    transform: translateX(5px);
}

.data-structure-title {
    color: #000000;
    font-size: 1.6rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.data-structure-title::before {
    content: "🏗️";
    font-size: 1.4rem;
}

.json-line { 
    margin: 0; 
    line-height: 1.6;
}
.json-indent-0 { padding-left: 0; }
.json-indent-1 { padding-left: 20px; }
.json-indent-2 { padding-left: 40px; }
.json-indent-3 { padding-left: 60px; }
.json-indent-4 { padding-left: 80px; }



.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}


.card-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
}



.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}




.tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab.active {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #3b82f6;
}


.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .main-header {
        padding: 25px 20px;
    }

    .main-header h1 {
        font-size: 2rem;
    }

    .card-header,
    .card-body {
        padding: 20px;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: column;
    }
}