/* Client Dashboard Styles */
.dashboard-main {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.dashboard-container {
    padding: 50px 20px;
    background-color: #f8f9fa;
    min-height: 80vh;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.dashboard-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Category Grid */
.category-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

.category-card {
    position: relative;
    padding: 10px 15px;
    border-left: 3px solid #333;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

/* Use border colors instead of background colors */
.category-card[data-category="rf-telecommunications"] { border-left-color: #4285F4; }
.category-card[data-category="energy"] { border-left-color: #EA4335; }
.category-card[data-category="construction"] { border-left-color: #FBBC05; }
.category-card[data-category="banking"] { border-left-color: #34A853; }
.category-card[data-category="sand"] { border-left-color: #FF6D01; }
.category-card[data-category="oil-gas"] { border-left-color: #46BDC6; }
.category-card[data-category="real-estate"] { border-left-color: #7E57C2; }
.category-card[data-category="nuclear"] { border-left-color: #EC407A; }
.category-card[data-category="industrial"] { border-left-color: #5C6BC0; }
.category-card[data-category="naval"] { border-left-color: #26A69A; }
.category-card[data-category="bpo"] { border-left-color: #AB47BC; }
.category-card[data-category="automotive"] { border-left-color: #29B6F6; }
.category-card[data-category="aerospace"] { border-left-color: #FF7043; }
.category-card[data-category="chemistry-pharmaceutical"] { border-left-color: #66BB6A; }

.category-overlay {
    position: static;
    background: none;
    padding: 0;
    color: #333;
}

.category-card:hover .category-overlay {
    background: none;
}

.category-overlay h3 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
    color: #333;
}

/* Remove paragraph styling as we don't have any paragraphs */
.category-overlay p,
.category-link {
    display: none;
}

/* Popup Dashboard Styles */
.dashboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
}

.dashboard-popup {
    position: fixed;
    top: 0;
    left: -500px; /* Start off-screen - increased to match new width */
    width: 500px; /* Increased from 400px to 500px */
    height: 100%;
    background-color: white;
    overflow-y: auto;
    transition: left 0.3s ease-out;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
}

.dashboard-overlay.active .dashboard-popup {
    left: 0; /* Slide in */
}

@keyframes popupAppear {
    0% {
        left: -500px; /* Updated to match new width */
    }
    100% {
        left: 0;
    }
}

.dashboard-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.dashboard-popup-header h2 {
    font-size: 1.8rem;
    color: #333;
    margin: 0;
}

.close-dashboard {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #777;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-dashboard:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
}

.dashboard-popup-content {
    padding: 15px;
}

.dashboard-popup-content p {
    color: #666;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Remove image classes since we're text-only now */
.category-image {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-popup {
        width: 400px; /* Increased from 350px */
    }
}

@media (max-width: 576px) {
    .dashboard-popup-header {
        padding: 15px 10px;
    }
    
    .dashboard-popup-content {
        padding: 10px;
    }
    
    .dashboard-popup .category-grid {
        gap: 5px;
    }
    
    .dashboard-popup .category-card {
        padding: 10px 15px; /* Increased padding for bigger text */
    }
    
    .dashboard-popup .category-overlay h3 {
        font-size: 1.2rem; /* Increased from 1rem */
    }
} 

/* Estilos para projetos compartilhados */
.shared-projects-section {
    margin-top: 25px;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
}

.shared-projects-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.shared-projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.shared-project-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: all 0.3s ease;
}

.shared-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.shared-project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.shared-project-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
    flex: 1;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-incompleted {
    background-color: #f8d7da;
    color: #721c24;
}

.status-in-progress {
    background-color: #fff3cd;
    color: #856404;
}

.status-unknown {
    background-color: #e2e3e5;
    color: #383d41;
}

.shared-project-details {
    margin-bottom: 15px;
}

.shared-project-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.category-tag {
    display: inline-block;
    background-color: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #495057;
}

.shared-by, .shared-date {
    font-size: 12px;
    color: #6c757d;
}

.shared-project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.view-project-button, .download-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
    cursor: pointer;
}

.view-project-button {
    background-color: #4a89dc;
    color: white;
}

.view-project-button:hover {
    background-color: #3a6bae;
}

.download-file-button {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
}

.download-file-button:hover {
    background-color: #e9ecef;
}

.download-file-button i {
    margin-right: 5px;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .shared-projects-list {
        grid-template-columns: 1fr;
    }
    
    .shared-project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .shared-project-header h4 {
        margin-bottom: 8px;
    }
    
    .status-badge {
        align-self: flex-start;
    }
    
    .shared-project-actions {
        flex-direction: column;
    }
    
    .view-project-button, .download-file-button {
        width: 100%;
    }
} 