/* ===================================
   PROFIL PERUSAHAAN STYLES - LIGHT THEME
   Enhanced with detail_exim design patterns
   =================================== */


/* Gradient Text */

.gradient-text {
    background: linear-gradient(135deg, #00d9ff 0%, #0077b6 50%, #00b4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Card Hover - Simple */

.card-hover:hover {
    background: rgba(255, 255, 255, 0.95);
}


/* Risk Badge Variants */

.risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.risk-low {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.risk-medium {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.risk-high {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.risk-very-high {
    background: rgba(168, 85, 247, 0.15);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.risk-prioritas {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.risk-na {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}


/* Performance Bar - Simple */

.kinerja-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(186, 230, 253, 0.7);
    overflow: hidden;
}

.kinerja-fill {
    height: 100%;
    border-radius: 3px;
}


/* Modal - Simple */

.modal-overlay {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(186, 230, 253, 0.4);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #0ea5e9;
    border-radius: 4px;
}


/* Stats Card - Simple */

.stat-card:hover {
    background: rgba(255, 255, 255, 0.95);
}


/* Detail Section - Simple */

.detail-section {
    border-left: 3px solid #3b82f6;
    padding-left: 16px;
}


/* Filter Section - Simple */

.filter-container {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}


/* Photo Container - Simple */

.photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}


/* Badge & Tag Styles */

.photo-badge {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Pagination - Simple */

.pagination-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}


/* Loading States */

.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Light Theme Boxes */

.quick-stat-box {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.workforce-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.performance-table thead tr {
    background: rgba(224, 242, 254, 0.85);
}

.performance-table tbody tr {
    background: rgba(255, 255, 255, 0.55);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.performance-table tbody tr:hover {
    background: rgba(186, 230, 253, 0.45);
}


/* Info Badge */

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: rgba(224, 242, 254, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    color: #0369a1;
}


/* Photo Badge */

.photo-badge {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.9) 0%, rgba(0, 180, 216, 0.9) 100%);
    backdrop-filter: blur(8px);
}


/* Grid Layout for List Design */

#companyGrid {
    display: block;
}

.company-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-left: 4px solid #0ea5e9;
    border-radius: 14px;
    padding: 0.875rem 1.1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.company-card:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 8px 28px rgba(14, 116, 163, 0.18);
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .company-card {
        padding: 0.75rem 0.875rem;
        border-radius: 10px;
    }
}


/* Empty State */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}


/* Responsive Tables */

@media (max-width: 768px) {
    .performance-table {
        font-size: 0.75rem;
    }
    .performance-table th,
    .performance-table td {
        padding: 0.5rem !important;
    }
}


/* Responsive Enhancements */

@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
        margin: 1rem;
    }
}


/* Quick Info Badge */

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(224, 242, 254, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #0369a1;
}

.info-badge:hover {
    background: rgba(186, 230, 253, 0.95);
}


/* Quick Stat Boxes - Dark Theme (Handled by Tailwind in JS) */


/* Workforce Cards - Dark Theme (Handled by Tailwind in JS) */


/* Performance Table - Dark Theme (Handled by Tailwind in JS) */


/* Button - Simple */

.btn-primary {
    background: #3b82f6;
}

.btn-primary:hover {
    background: #2563eb;
}


/* Breadcrumb - Simple */

.breadcrumb-link:hover {
    color: #2563eb;
}


/* Empty State */

.empty-state {
    padding: 64px 16px;
    text-align: center;
}

.empty-state i {
    opacity: 0.5;
}
