/* Next Stage Sources - Frontend Styles */

/* ============================================
   INLINE STYLE (Default)
   ============================================ */
.next-stage-sources-container.style-inline {
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

.style-inline .next-stage-sources-title {
    display: inline;
    font-weight: 600;
    margin-right: 5px;
}

.style-inline .next-stage-sources-list {
    display: inline;
}

.style-inline .next-stage-source-link {
    color: inherit;
    text-decoration: none;
}

.style-inline .next-stage-source-link:hover {
    text-decoration: underline;
}

/* ============================================
   LIST STYLE
   ============================================ */
.next-stage-sources-container.style-list {
    margin: 30px 0;
}

.style-list .next-stage-sources-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    color: #2d3748;
}

.style-list .next-stage-sources-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.style-list .next-stage-source-item {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.style-list .next-stage-source-item:last-child {
    border-bottom: none;
}

.style-list .next-stage-source-item::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

.style-list .next-stage-source-number {
    font-weight: 600;
    color: #4a5568;
}

.style-list .next-stage-source-separator {
    color: #a0aec0;
}

.style-list .next-stage-source-link {
    color: #4299e1;
    text-decoration: none;
}

.style-list .next-stage-source-link:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

/* ============================================
   CARD STYLE
   ============================================ */
.next-stage-sources-container.style-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.style-card .next-stage-sources-title {
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #667eea;
    display: block;
}

.style-card .next-stage-sources-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.style-card .next-stage-source-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.style-card .next-stage-source-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.style-card .next-stage-source-number {
    font-weight: 600;
    color: #667eea;
}

.style-card .next-stage-source-separator {
    color: #a0aec0;
}

.style-card .next-stage-source-link {
    color: #4299e1;
    text-decoration: none;
    flex: 1;
}

.style-card .next-stage-source-link:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

/* ============================================
   BADGES STYLE
   ============================================ */
.next-stage-sources-container.style-badges {
    margin: 30px 0;
}

.style-badges .next-stage-sources-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    color: #2d3748;
}

.style-badges .next-stage-sources-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.style-badges .next-stage-source-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.style-badges .next-stage-source-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ============================================
   MODERN STYLE
   ============================================ */
.next-stage-sources-container.style-modern {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.next-stage-sources-container.style-modern:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.style-modern .next-stage-sources-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    padding-right: 20px;
    border-right: 2px solid #cbd5e0;
    white-space: nowrap;
    flex-shrink: 0;
}

.style-modern .next-stage-sources-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
    flex: 1;
}

.style-modern .next-stage-source-link {
    color: #4299e1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0 12px;
    position: relative;
}

.style-modern .next-stage-source-link:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

.style-modern .next-stage-source-link:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -2px;
    color: #cbd5e0;
    font-weight: 400;
}

.style-modern .next-stage-source-link:first-child {
    padding-left: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .style-card {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .style-card .next-stage-sources-title {
        font-size: 18px;
    }
    
    .style-list .next-stage-source-item {
        flex-wrap: wrap;
    }
    
    .style-list .next-stage-source-separator {
        display: none;
    }
    
    .style-badges .next-stage-source-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .style-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .style-modern .next-stage-sources-title {
        padding-right: 0;
        padding-bottom: 10px;
        border-right: none;
        border-bottom: 2px solid #cbd5e0;
        width: 100%;
    }
    
    .style-modern .next-stage-sources-list {
        gap: 5px 0;
    }
    
    .style-modern .next-stage-source-link {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .next-stage-sources-container {
        background: none !important;
        box-shadow: none !important;
        border: 1px solid #e1e8ed;
    }
    
    .style-card .next-stage-source-item {
        page-break-inside: avoid;
    }
}

