/* Provider Dashboard Styles */
.dashboard-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}
/* Base container rules */
.dashboard-container {
    max-width: 100%;
    overflow-x: hidden;
}
.ai-summary {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    margin-bottom: 20px;
    font-style: italic;
}
canvas {
    border-radius: 10px;
}
.canvas{
    border-radius: 10px;
}
.body-image {
    width: 432px; /* Match the actual image width */
    height: 600px; /* Match the actual image height */
  }
  .marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: none;
    cursor: pointer;
    transition: transform 0.2s;
    text-align: center;
  }
  .marker:hover {
    color: black;
    transform: scale(2);
    z-index: 10;
  }

.summary-container {
    margin: 1em 0;
}

.generate-summary-btn {
    padding: 8px 16px;
    background-color: var(--sova-teal);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}

.generate-summary-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.generate-summary-btn:hover:not(:disabled) {
    background-color: var(--sova-teal-dark);
}
.pending-requests {
    margin-bottom: 20px;
}

.charts-container {
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#removeClientBtn{
    margin-top: 20px;
}
/* Add these styles to your CSS */
.current-tasks {
    padding: 20px;
    background: #ececec;
    margin-top: 20px;;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: none;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.task-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

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

.task-header h3 {
    font-size: 1.1em;
    margin: 0;
    color: var(--primary-color);
}

.task-status {
    font-size: 0.8em;
    padding: 4px 8px;
    border-radius: 12px;
}

.task-status.in-progress {
    background: var(--sova-teal-tint);
    color: var(--sova-teal);
}

.task-status.pending {
    background: var(--sova-purple-tint);
    color: var(--sova-purple);
}

.task-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

.task-card p {
    color: #555;
    font-size: 0.95em;
    margin: 10px 0;
}

.section-title{
    padding-top: 25px;
}

.chart-section {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.game-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.remove-client{
    padding-top: 5px;
}

.quest-form input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.quest-form input[type="radio"]:checked + label {
    color: var(--primary-color);
}

.quest-form input[type="radio"]:checked + label::before {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.quest-form .quest-description {
    display: block;
    margin-top: 10px;
    color: #555;
    font-size: 0.95em;
    cursor: pointer;
}

#assignQuestBtn {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
}

.btn-primary {
    background: var(--sova-teal);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--sova-navy);
}

.game-selector button {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: black;
    cursor: pointer;
}
.game-selector button:hover {
    background: var(--sova-teal);
    color:white;
}
.game-selector button.active {
    background: var(--sova-teal);
    color: white;
}
@media (max-width: 480px) {
    .game-selector button {
        font-size: 0.75rem;
        padding: 0.375rem;
    }
    
    .chart-container {
        height: 250px;
    }
}
.request-item {
    background-color: #f0f0f0;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.request-item button {
    margin-right: 10px;
    padding: 5px 10px;
    cursor: pointer;
}

.client-selection {
    margin-bottom: 1rem;
}

.client-selection label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.client-selection select {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.client-data {
    background-color: #ececec;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.client-data h2 {
    margin-bottom: 0px;
    color: var(--primary-color);
}

.h2{
    margin-bottom: 0px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 600px; /* Adjust the 400px to your preferred width */
    gap: 2rem;
}

.dashboard-main {
    min-width: 0; /* Prevents content from breaking grid layout */
}

.dashboard-3d-viewer {
    border-radius: 8px;
    margin-top: 1rem;
    position: relative;
}


.generate-summary-btn{
    background-color: var(--sova-teal);
}


.viewer-container {
    position: relative;
    height: 600px; /* Adjust height as needed */
    background: url('Body.png') center center no-repeat;
    border-radius: 6px;
    overflow: hidden;
}

#3d-scene {
    width: 100%;
    height: 100%;
    background-color: white;
}



.info-card, 
.client-data,
.viewer-container {
    max-width: 100%;
    overflow: hidden;
}

/* Image and graph containment */
img, 
canvas, 
.chart-container {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
    
    .dashboard-3d-viewer {
        margin-top: 2rem;
    }
    
    .viewer-container {
        height: 400px; /* Shorter height on mobile */
    }
}
#rawData {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    background-color: #f0f0f0;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .info-card, 
    .client-data {
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0.75rem;
        box-sizing: border-box;
    }

    .chart-container {
        width: 100% !important; /* Override any inline styles */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .info-content {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .dashboard-3d-viewer {
        width: 100%;
        overflow: hidden;
    }
}

/* Small mobile specific */
@media (max-width: 480px) {
    .info-card h3,
    .client-data h2,
    .section-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .info-content {
        font-size: 0.875rem;
        line-height: 1.4;
    }
}