/* 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;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.style-list .next-stage-sources-title {
    font-size: 16px;
    font-weight: 600;
    margin-right: 10px;
    display: inline;
    color: #2d3748;
}

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

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

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

.style-list .next-stage-source-item:first-child::before {
    content: "";
    margin: 0;
}

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

.style-list .next-stage-source-separator {
    color: #a0aec0;
    margin: 0 6px;
}

.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: 20px 25px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

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

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

.style-card .next-stage-source-item {
    background: #ffffff;
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    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;
    font-size: 13px;
}

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

.style-card .next-stage-source-link {
    color: #4299e1;
    text-decoration: none;
    font-size: 14px;
}

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

/* ============================================
   BADGES STYLE
   ============================================ */
.next-stage-sources-container.style-badges {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.style-badges .next-stage-sources-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: inline;
    color: #2d3748;
}

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

.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;
}

/* ============================================
   MINIMAL STYLE
   ============================================ */
.next-stage-sources-container.style-minimal {
    margin: 30px 0;
    padding: 15px 20px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.style-minimal .next-stage-sources-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline;
}

.style-minimal .next-stage-sources-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.style-minimal .next-stage-source-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    transition: all 0.2s ease;
}

.style-minimal .next-stage-source-link:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.style-minimal .source-icon {
    font-size: 14px;
    opacity: 0.7;
}

.style-minimal .source-text {
    font-weight: 500;
}

/* ============================================
   BOX SHADOW STYLE
   ============================================ */
.next-stage-sources-container.style-boxshadow {
    margin: 30px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.style-boxshadow .next-stage-sources-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.style-boxshadow .next-stage-sources-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.style-boxshadow .next-stage-sources-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.style-boxshadow .next-stage-source-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.style-boxshadow .next-stage-source-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.style-boxshadow .source-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.style-boxshadow .source-domain {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* ============================================
   UNDERLINE STYLE
   ============================================ */
.next-stage-sources-container.style-underline {
    margin: 30px 0;
    padding: 18px 25px;
    background: linear-gradient(to right, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.style-underline .next-stage-sources-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.style-underline .next-stage-sources-title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40%;
    height: 3px;
    background: #764ba2;
}

.style-underline .next-stage-sources-list {
    line-height: 1.8;
    font-size: 15px;
    display: inline;
    flex: 1;
}

.style-underline .next-stage-source-link {
    display: inline;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.style-underline .next-stage-source-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.style-underline .next-stage-source-link:hover::after {
    width: 100%;
}

.style-underline .next-stage-source-link:hover {
    color: #6366f1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .style-card {
        padding: 15px 18px;
        margin: 20px 0;
    }
    
    .style-card .next-stage-sources-title {
        font-size: 16px;
        padding-right: 10px;
    }
    
    .style-list {
        padding: 12px;
    }
    
    .style-list .next-stage-sources-title {
        font-size: 15px;
    }
    
    .style-badges .next-stage-source-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .style-modern {
        padding: 15px 20px;
    }
    
    .style-modern .next-stage-source-link {
        font-size: 14px;
        padding: 0 10px;
    }
    
    /* Minimal responsive */
    .style-minimal {
        padding: 12px 15px;
    }
    
    .style-minimal .next-stage-source-link {
        font-size: 13px;
        padding: 7px 12px;
    }
    
    /* Box shadow responsive */
    .style-boxshadow {
        padding: 15px;
        gap: 12px;
    }
    
    .style-boxshadow .next-stage-sources-title {
        font-size: 15px;
    }
    
    .style-boxshadow .next-stage-source-item {
        padding: 7px 12px;
    }
    
    .style-boxshadow .source-number {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .style-boxshadow .source-domain {
        font-size: 13px;
    }
    
    /* Underline responsive */
    .style-underline {
        padding: 15px 18px;
    }
    
    .style-underline .next-stage-sources-title {
        font-size: 15px;
    }
    
    .style-underline .next-stage-sources-list {
        font-size: 14px;
    }
}

/* ============================================
   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;
    }
}

