/* styles for progress and calendar details */


/* Domain Content */

/*
.domain-content {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.domain-content {
    display: flex;
    flex-direction: column;
    gap: 0.0rem;
}
  */




.topics-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.topics-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.topic-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.topic-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.subheadings-list {
    list-style: none;
    padding: 0;
}

.subheading-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #4a5568;
    position: relative;
    padding-left: 1rem;
}

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

.subheading-item:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.subheading-item a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
}

.subheading-item a:hover {
    color: #667eea;
    text-decoration: underline;
}


/* Additional Section */
.additional-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.additional-content {
    color: #4a5568;
}


/* Metadata Section */
.metadata-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

@media (max-width: 480px) {
    .metadata-grid {
        grid-template-columns: 1fr;
    }
}

.metadata-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1rem;
}

.metadata-key {
    font-weight: 600;
    color: #2d3748;
    display: block;
    margin-bottom: 0.25rem;
}

.metadata-value {
    color: #4a5568;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
}






/* Topic and Concept Actions */
.topic-actions,
.concept-actions {
    text-align: center;
    padding: 2rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}






/* Content Item Styles */
.content-item {
    padding: 1.5rem;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.content-item.status-presented {
    background-color: white;
}

/* Content item variants */
.content-item.correct {
    border-left: 4px solid #00ff88;
}

.content-item.incorrect {
    border-left: 4px solid #ff6b6b;
}

.content-item-body {
    flex: 1;
}


.content-item-body.truncated {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-item-link:hover {
  background-color: rgba(255, 255, 255, 0.6); 
  cursor: pointer;
}


.content-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
}

.content-item-description {
    color: #4a5568;
    font-size: 0.9rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.content-item-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.content-item-stats {
    flex-shrink: 0;
}

.content-item-stats-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-size: 0.9rem;
}

.content-item-stats-item i {
    color: #667eea;
}

.begin-section {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.begin-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.begin-button:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}



.domain-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumb-item {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb-item:hover {
    text-decoration: underline;
}

.breadcrumb-item.current {
    color: #4a5568;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #cbd5e0;
}

.domain-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.domain-subtitle {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: #667eea;
    margin-bottom: 1rem;
}

.domain-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #718096;
}

.meta-item strong {
    color: #4a5568;
}

/* Topic Files Section */
.topic-files-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.section-description {
    color: #718096;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.topic-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 480px) {
    .topic-files-grid {
        grid-template-columns: 1fr;
    }
}

.topic-file-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.topic-file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.topic-file-header {
    margin-bottom: 1rem;
}

.topic-file-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.topic-file-title a {
    color: #2d3748;
    text-decoration: none;
}

.topic-file-title a:hover {
    color: #667eea;
}

.topic-file-category {
    font-size: 0.75rem;
    color: #667eea;
    background-color: #edf2f7;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-file-summary {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.topic-file-actions {
    margin-top: auto;
}

/* Subdomain Files Section */
.subdomain-files-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.subdomain-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 480px) {
    .subdomain-files-grid {
        grid-template-columns: 1fr;
    }
}

.subdomain-file-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.subdomain-file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.subdomain-file-header {
    margin-bottom: 1rem;
}

.subdomain-file-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
}

.subdomain-file-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.subdomain-file-title a:hover {
    color: #667eea;
}

.subdomain-file-category {
    background: #e6f3ff;
    color: #1a365d;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 0.25rem;
}

.subdomain-file-summary {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.subdomain-file-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}


/* Topic Detail Page */
.topic-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.topic-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.topic-context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.context-item {
    font-size: 0.875rem;
    color: #718096;
}

.context-item strong {
    color: #4a5568;
}




/* Summary Section */
.summary-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.summary-content {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

.summary-content p {
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.service-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Concepts Section */
.concepts-section {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.concepts-intro {
    color: #718096;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 480px) {
    .concepts-grid {
        grid-template-columns: 1fr;
    }
}

.concept-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.concept-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.concept-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.concept-title a {
    color: #2d3748;
    text-decoration: none;
}

.concept-title a:hover {
    color: #667eea;
}

.concept-preview {
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.concept-actions {
    margin-top: auto;
}



.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #4a5568;
    font-size: 0.85rem;
}

.stat-item i {
    color: #667eea;
    font-size: 0.9rem;
}

.content-item.truncated .content-item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Progress Content Styles */
.content-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.content-header {
    margin-bottom: 2rem;
    text-align: center;
}


.content-description {
    color: #4a5568;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.content-section {
    margin-top: 2rem;
}

.content-section h2 {
    font-size: 1.3rem;
    color: #1a202c;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Links and Actions */


.view-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.view-link:hover {
    background: #0f52ba;
}

.view-link i {
    font-size: 0.85rem;
}

.no-content {
    text-align: center;
    color: #718096;
    padding: 2rem 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .content-detail-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem 1rem;
    }



    .content-list {
        flex-direction: column;
        gap: 1rem;
    }

    .view-link {
        width: 100%;
        justify-content: center;
    }

    .content-item-stats {
        flex-direction: column;
        align-items: flex-start;
    }
}











.progress-subtitle {
    font-size: 1rem;
    color: #4a5568;
    margin: 0.5rem 0 0 0;
}






.progress-indicator {
    color: #68d391;
    font-weight: 500;
}



@media (max-width: 768px) {

    

}
