
/* Company Dashboard Layout */
.company-dashboard-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}

.dashboard-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 110px; /* Increased to account for fixed header */
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px;
    z-index: 1; /* Ensure it stays above content but below header */
}

.dashboard-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0; /* Prevent flex item from overflowing */
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
    margin-bottom: 5px;
}

.dashboard-nav-link:hover, .dashboard-nav-link.active {
    background-color: #f3f4f6;
    color: #111827;
}

.dashboard-nav-link .material-icons {
    margin-right: 10px;
    font-size: 20px;
    color: #6b7280;
}

.dashboard-nav-link:hover .material-icons, .dashboard-nav-link.active .material-icons {
    color: #3b82f6;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px;
    height: 100%;
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
}

.dashboard-card-title .material-icons {
    margin-right: 8px;
    color: #6b7280;
}

/* Company Header Section */
.company-header-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-logo-small {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    padding: 2px;
}

.company-name-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.company-actions-top {
    display: flex;
    gap: 10px;
}

/* Grid Layout for Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.dashboard-grid-full {
    grid-column: 1 / -1;
}

/* Specific Card Styles */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #6b7280;
    font-weight: 500;
}

.info-value {
    color: #111827;
    font-weight: 500;
    text-align: right;
}

/* Score Gauge Placeholder */
.score-gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.score-gauge-placeholder {
    width: 200px;
    height: 100px;
    background: linear-gradient(90deg, #ef4444 0%, #eab308 50%, #22c55e 100%);
    border-radius: 100px 100px 0 0;
    position: relative;
    margin-bottom: 10px;
}

.score-gauge-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

/* Feedback Section Styles */
.feedback-list-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}

.feedback-list-item:last-child {
    border-bottom: none;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.feedback-author {
    font-weight: 600;
    color: #111827;
}

.feedback-date {
    font-size: 0.85em;
    color: #6b7280;
}

.feedback-stars {
    display: flex;
    align-items: center;
    color: #f59e0b; /* Amber-500 */
}

.feedback-stars .material-icons {
    font-size: 16px;
    margin-right: 1px;
}

.feedback-comment {
    color: #374151;
    line-height: 1.5;
    margin-top: 5px;
}

/* Copyable Text Styles */
.copyable-text {
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    border-bottom: 1px dashed #ccc; /* Visual cue */
    display: inline-flex;
    align-items: center;
}

.copyable-text:hover {
    color: #2563eb; /* Blue-600 */
    border-bottom-color: #2563eb;
}

.copyable-text.fw-bold {
    font-weight: 700 !important;
}

.score-gauge-value {
    font-size: 2rem;
    font-weight: bold;
    color: #111827;
}

/* Responsive Adjustments */
/* Responsive Adjustments - REMOVED TO USE style.css GLOBAL STYLES
@media (max-width: 768px) {
    ...
}
*/

/* Print Styles */
@media print {
    /* Hide all main layout elements */
    .main-header, 
    .top-bar, 
    .dashboard-sidebar, 
    .company-dashboard-container, 
    footer, 
    .mobile-menu-btn, 
    .hero-section, 
    .site-footer,
    .btn,
    .no-print {
        display: none !important;
    }

    /* Reset body visibility */
    body {
        background: white;
        visibility: visible;
    }

    /* Show print template */
    .print-template {
        display: block !important;
        visibility: visible !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 20px;
        z-index: 9999;
        background: white;
    }
    
    .print-template * {
        visibility: visible !important;
    }

    /* Ensure table borders print correctly */
    .table-bordered th,
    .table-bordered td {
        border: 1px solid #dee2e6 !important;
    }
}
