/* Accordion Styles */
.deep-accordion {
    margin: 0;
}

.deep-accordion-section {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.deep-accordion-header {
    background: linear-gradient(135deg, #5e377e 0%, #4f5bd5 100%);
    color: white;
    padding: 10px 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.deep-accordion-header:hover {
    background: linear-gradient(135deg, #6a4190 0%, #5a6fd8 100%);
}

.deep-accordion-header.active {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.deep-accordion-icon {
    float: right;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.deep-accordion-header.active .deep-accordion-icon {
    transform: rotate(180deg);
}

.deep-accordion-content {
    display: none;
    background: white;
}

.deep-accordion-content.active {
    display: block;
}

/* Video List Styles */
.deep-video-item {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 5px;
}

.deep-video-thumbnail {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.deep-video-info {
    flex: 1;
}

.deep-video-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.deep-video-description {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.deep-video-meta {
    font-size: 14px;
    color: #888;
}

.deep-video-progress {
    margin-top: 8px;
}

.deep-progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.deep-progress-fill {
    height: 100%;
    background: #667eea;
    transition: width 0.3s ease;
}

/* Article Card Styles for Supporting Documentation */
.deep-article-card {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.deep-article-card.deep-requires-login {
    border-left-color: #f39c12;
    background: #fef9e7;
}

.deep-article-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.deep-article-title a {
    color: #333;
    text-decoration: none;
}

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

.deep-article-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.deep-article-meta span {
    margin-right: 15px;
}

.deep-article-summary {
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
}

.deep-article-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.deep-btn-read, .deep-btn-login, .deep-btn-watch {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.deep-btn-read {
    background: #667eea;
    color: white;
}

.deep-btn-read:hover {
    background: #5a6fd8;
}

.deep-btn-login {
    background: #f39c12;
    color: white;
}

.deep-btn-login:hover {
    background: #e67e22;
}

.deep-btn-watch {
    background: #28a745;
    color: white;
}

.deep-btn-watch:hover {
    background: #218838;
}

.deep-access-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* Practice Tips Styles */
.deep-tip-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.deep-tip-item.deep-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.deep-tip-item.deep-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.deep-tip-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.deep-tip-category {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 8px;
}

/* Loading States */
.deep-loading-videos {
    text-align: center;
    padding: 40px;
    color: #888;
}

.deep-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: deep-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes deep-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .deep-video-item {
        flex-direction: column;
    }
    
    .deep-video-thumbnail {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .deep-article-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Responsive Video Grid */
.deep-video-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
    justify-content: flex-start;
    margin: 0 !important;
    box-sizing: border-box;
    width: 100%;
}

.deep-video-grid-container .deep-video-item {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    margin: 0 !important;
    box-sizing: border-box;
}

/* Tablet: 2 columns */
@media (max-width: 960px) {
    .deep-video-grid-container .deep-video-item {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
    .deep-video-grid-container .deep-video-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .deep-video-grid-container {
        gap: 12px;
        padding: 12px;
    }
}
