.sidebar { 
    border-left: 4px solid #27aae1;  
    padding: 24px; 
    background: rgba(255,255,255,0.8); 
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    height: fit-content;
    position: sticky;
    top: 24px;
}

.sidebar .nav-link { 
    color: #475569; 
    font-weight: 500; 
    padding: 12px 16px; 
    border-radius: 8px; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
    font-size: 0.95rem;
    display: block;
    text-decoration: none;
    margin-bottom: 4px;
}

.sidebar .nav-link:hover { 
    background: rgba(39,170,225,0.08); 
    color: #CB5F01; 
    transform: translateX(4px);
}

.sidebar .nav-link.active { 
    background: #27aae1; 
    color: white; 
    box-shadow: 0 2px 8px rgba(39,170,225,0.3);
}

.frontend-view { 
    background: rgba(255,255,255,0.8); 
    border-radius: 16px; 
    padding: 32px; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid #27aae1; 
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.search-filter { 
    display: flex; 
    gap: 16px; 
    margin-bottom: 32px; 
    flex-wrap: wrap; 
}

.search-input, .filter-select { 
    padding: 14px 16px; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    font-size: 0.95rem; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
    background: var(--surface); 
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    font-family: inherit;
}

.search-input:focus, .filter-select:focus { 
    outline: none; 
    border-color: #27aae1; 
    box-shadow: 0 0 0 3px rgba(39,170,225,0.1), 0 1px 3px rgba(0,0,0,0.1); 
}

.search-input {
    flex: 1;
    min-width: 300px;
}

.filter-select {
    min-width: 200px;
}

.stats-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px; 
    margin-bottom: 32px; 
}

.stat-card { 
    background: var(--surface); 
    padding: 24px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); 
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.stat-number { 
    font-size: 2.25rem; 
    font-weight: 700; 
    color: #27aae1; 
    margin-bottom: 4px;
    letter-spacing: -0.025em;
}

.stat-label { 
    color: #64748b; 
    font-weight: 500; 
    font-size: 0.9rem;
}

.header-title { 
    font-size: clamp(1.75rem, 3vw, 2.25rem); 
    font-weight: 700; 
    color: #1e293b; 
    margin-bottom: 8px; 
    letter-spacing: -0.025em;
}


.description-content { 
    line-height: 1.6; 
}

.description-truncated { 
    max-height: 7.5em; 
    overflow: hidden; 
    position: relative; 
}

.description-truncated::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    right: 0; 
    width: 100%; 
    height: 1.5em; 
    background: linear-gradient(to right, transparent, white 50%); 
}

.description-full { 
    max-height: none; 
}

/* API and download section */
.api-section {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}
.api-endpoint {
    font-family: monospace;
    background-color: #e9ecef;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 0.9em;
    word-break: break-all;
}
.copy-btn {
    background-color: #006D77;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8em;
    margin-left: 10px;
}
.copy-btn:hover {
    background-color: #CB5F01;
}
.copy-btn.copied {
    background-color: #28a745;
}
.download-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}


/* Policy styles */
.policy-card { 
    background: var(--surface); 
    border-radius: 12px; 
    padding: 24px; 
    margin-bottom: 20px; 
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
    border-left: 4px solid #27aae1; 
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}


.policy-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 32px rgba(0,0,0,0.12); 
}

.policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(39,170,225,0.3), transparent);
}

.policy-title { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: #1e293b; 
    margin-bottom: 12px; 
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.policy-meta { 
    font-size: 0.875rem; 
    color: #64748b; 
    margin-bottom: 10px; 
    font-weight: 500;
}

/* Read more section */
.read-more-btn { 
    color: #27aae1; 
    cursor: pointer; 
    font-weight: 600; 
    text-decoration: none; 
    font-size: 0.875rem; 
    margin-top: 8px; 
    display: inline-block; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.read-more-btn:hover { 
    color: #006D77; 
    text-decoration: underline;
}

.access-badge { 
    display: inline-flex;
    align-items: center;
    padding: 6px 12px; 
    border-radius: 6px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
}

.public { 
    background: #dcfce7; 
    color: #166534; 
    border: 1px solid #bbf7d0;
}

.private { 
    background: #fef2f2; 
    color: #991b1b; 
    border: 1px solid #fecaca;
}

.btn-primary { 
    background: #006D77; 
    color: white; 
    border: none; 
    border-radius: 8px; 
    padding: 10px 20px; 
    font-size: 0.875rem; 
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary:hover { 
    background: #CB5F01; 
    transform: translateY(-1px); 
    box-shadow: 0 4px 16px rgba(0,109,119,0.3);
    color: white;
    text-decoration: none;
}

/* Header Section */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: var(--primary);
    color: white;
    margin: -40px -4px -40px -4px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}



/* Footer section */
.footer {
    background-color: #006d77;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

/* Pagination Styles */
.pagination-container { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-top: 40px; 
    gap: 24px;
}

.pagination { 
    display: flex; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    gap: 4px;
}

.pagination li { 
    margin: 0; 
}

.pagination a { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #27aae1; 
    text-decoration: none; 
    border: 1px solid #e2e8f0; 
    border-radius: 8px; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
    font-weight: 500;
    background: var(--surface);
}

.pagination a:hover { 
    background: #27aae1; 
    color: white; 
    border-color: #27aae1;
    transform: translateY(-1px);
}

.pagination .active a { 
    background: #27aae1; 
    color: white; 
    border-color: #27aae1;
    box-shadow: 0 2px 8px rgba(39,170,225,0.3);
}

.pagination .disabled a { 
    color: #cbd5e1; 
    border-color: #f1f5f9; 
    cursor: not-allowed; 
    background: #f8fafc;
}

.pagination .disabled a:hover { 
    background: #f8fafc; 
    color: #cbd5e1; 
    transform: none;
}

.pagination-info { 
    color: #64748b; 
    font-size: 0.875rem; 
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #64748b;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #475569;
}

.empty-state p {
    font-size: 0.95rem;
    color: #64748b;
}

/* Alert Styles */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid transparent;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

/*------/ Box /------*/
.box-shadow-full {
    padding: 32px;
    position: relative;
    background: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    z-index: 2;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.box-shadow-full li {
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.6;
}

.box-shadow-full a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.box-shadow-full a:hover {
    color: #27aae1;
    text-decoration: underline;
}

/* Enhanced Typography */
.title-box-2 {
    margin-bottom: 20px;
}

.title-left {
    position: relative;
    padding-bottom: 8px;
}

.title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #27aae1;
    border-radius: 2px;
}

/* Contact Information Styling */
.more-info .list-ico {
    list-style: none;
    padding: 0;
    margin: 0;
}

.more-info .list-ico li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 0;
}

.more-info .list-ico li span {
    margin-right: 12px;
    color: #27aae1;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #27aae1;
    outline-offset: 2px;
}

.nav-link:focus,
.btn-primary:focus,
.pagination a:focus {
    outline: 2px solid #27aae1;
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-filter { 
        flex-direction: column; 
    } 
    
    .search-input, .filter-select { 
        min-width: 100%; 
    } 
    
    .container { 
        padding: 16px; 
    }
    
    .frontend-view {
        padding: 20px;
    }
    
    .sidebar {
        margin-bottom: 24px;
        position: static;
    }
    
    .pagination-container { 
        flex-direction: column; 
        gap: 16px; 
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        width: 100%;
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .access-badge {
        align-self: flex-end;
    }
}

