.infoYt-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Font Awesome Icons - Ensure they display */
.infoYt-container .fa,
.infoYt-container .fas,
.infoYt-container .far,
.infoYt-container .fal,
.infoYt-container .fad,
.infoYt-container .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.infoYt-container .fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header Styles */
.infoYt-header {
    text-align: center;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    padding: 30px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 30px;
}

.infoYt-header h2 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
}

.infoYt-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1em;
}

/* Input Section */
.infoYt-input-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.youtube-url-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.youtube-url-input:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.analyze-btn, .calculate-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.analyze-btn:hover, .calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.url-examples {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
}

.loading {
    text-align: center;
    color: #ff0000;
    font-weight: bold;
    margin-top: 15px;
    font-size: 16px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.loading-text {
    display: block;
    margin-bottom: 20px;
    font-size: 18px;
}

/* Progress Bar Styles */
.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.progress-bar {
    flex: 1;
    height: 12px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #cc0000);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-text {
    font-weight: bold;
    color: #333;
    min-width: 50px;
    text-align: center;
    font-size: 14px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-icon {
    font-size: 20px;
    margin-bottom: 8px;
    background: white;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-step span {
    font-size: 12px;
    color: #666;
    text-align: center;
    font-weight: normal;
}

.progress-step.active .step-icon {
    color: #ff0000;
}

.progress-step.completed .step-icon {
    color: #28a745;
}

.progress-step:not(.completed):not(.active) .step-icon {
    color: #ccc;
}

/* Results Container */
.results-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.info-section {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.info-section:last-child {
    border-bottom: none;
}

.info-section h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.5em;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Video Type Indicator */
.video-type-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
}

.video-type-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

.video-type-icon {
    font-size: 2em;
}

/* Video Basic Info */
.video-basic-info {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: start;
}

.video-thumbnail-section img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.thumbnail-actions {
    margin-top: 15px;
    text-align: center;
}

.download-thumb-btn {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.download-thumb-btn:hover {
    background: #218838;
}

.video-details h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.4em;
    line-height: 1.4;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff0000;
}

.detail-item strong {
    color: #555;
}

.video-id {
    font-family: monospace;
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Description */
.description-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    max-height: 300px;
    overflow-y: auto;
}

.description-box p {
    margin: 0;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #ff0000;
}

.stat-icon {
    font-size: 2.5em;
    color: #ff0000;
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
}

/* Copyright Checker */
.copyright-checker {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.copyright-status {
    margin-bottom: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.status-indicator.monetized {
    border-left-color: #28a745;
}

.status-indicator.not-monetized {
    border-left-color: #dc3545;
}

.copyright-details {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.copyright-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #856404;
}

/* Tags & Hashtags */
.tags-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tags-section h5 {
    margin: 0 0 15px 0;
    color: #333;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag, .hashtag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
}

.tag {
    background: #e1ecf4;
    color: #39739d;
    border: 1px solid #c4d9f1;
}

.hashtag {
    background: #ffe6e6;
    color: #d93636;
    border: 1px solid #ffcccc;
}

/* Monetization */
.monetization-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.monetization-status {
    margin-bottom: 20px;
}

.monetization-details {
    display: grid;
    gap: 15px;
}

/* Thumbnail Downloader */
.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.thumbnail-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.thumbnail-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.thumbnail-info {
    padding: 10px;
}

.thumbnail-quality {
    font-weight: bold;
    color: #333;
    display: block;
}

.thumbnail-dimensions {
    color: #666;
    font-size: 0.9em;
}

.thumb-download-btn {
    width: 100%;
    padding: 8px;
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.thumb-download-btn:hover {
    background: #218838;
}

/* Channel Info */
.channel-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.channel-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.channel-stat {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

/* Earnings Calculator */
.earnings-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.calculator-controls {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.calculator-controls .input-group {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 15px;
}

.calculator-controls label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.calculator-controls input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.earnings-results {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.earning-amount {
    font-size: 2.5em;
    font-weight: bold;
    margin: 15px 0;
}

.earning-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.breakdown-item:last-child {
    border-bottom: none;
}

/* Feature Specific Styles */
.monetization-result, .channel-result, .shadowban-result, .data-viewer, .tags-extractor, .copyright-result, .shorts-analysis {
    padding: 30px;
}

.status-card, .earnings-breakdown {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.earnings-grid, .data-grid, .risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.earning-item, .data-item, .risk-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

/* Copyright Specific Styles */
.copyright-analysis {
    text-align: center;
}

.copyright-tips {
    background: #e7f3ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: left;
}

.copyright-tips h4 {
    color: #0066cc;
    margin-bottom: 15px;
}

.copyright-tips ul {
    margin: 0;
    padding-left: 20px;
}

.copyright-tips li {
    margin-bottom: 8px;
    color: #333;
}

/* Shorts Specific Styles */
.shorts-header {
    text-align: center;
    margin-bottom: 30px;
}

.shorts-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF0000, #FF6B6B);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.shorts-stat {
    border-top: 4px solid #FF0000;
}

.shorts-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.shorts-thumbnail {
    text-align: center;
}

.thumbnail-section {
    display: inline-block;
    text-align: center;
}

.thumbnail-section img {
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Earnings Calculator Standalone */
.earnings-calculator-standalone {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.calculator-inputs {
    margin-bottom: 30px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.views-input, .cpm-rate {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.result-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.result-value {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 5px;
}

.result-label {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Shadow Ban Analysis */
.analysis-result {
    text-align: center;
}

.factors-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.factor-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.factor-item:last-child {
    border-bottom: none;
}

/* Tags Export */
.tags-export {
    text-align: center;
    margin-top: 20px;
}

.export-tags-btn {
    padding: 12px 25px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.export-tags-btn:hover {
    background: #218838;
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin-top: 20px;
}

/* Placeholders */
.thumbnail-placeholder, .thumbnail-placeholder-full {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #666;
}

.thumbnail-placeholder i, .thumbnail-placeholder-full i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}

/* Video Downloader Specific Styles */
.download-options {
    margin-top: 20px;
}

.quality-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-btn {
    padding: 8px 16px;
    background: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.filter-btn:hover {
    background: #dee2e6;
}

.filter-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.download-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.download-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.download-icon {
    font-size: 1.5em;
    color: #007bff;
}

.download-icon.audio {
    color: #28a745;
}

.download-quality {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

.download-format {
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
}

.download-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.download-detail {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 2px;
}

.detail-value {
    font-weight: bold;
    color: #333;
}

.download-note {
    background: #e7f3ff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #0066cc;
    margin-bottom: 15px;
}

.download-btn {
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn:hover {
    background: #218838;
}

.download-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.download-placeholder {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #666;
    grid-column: 1 / -1;
}

.download-placeholder i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}

/* Legal Disclaimer */
.legal-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
}

.disclaimer-warning {
    padding: 20px;
}

.disclaimer-warning h4 {
    color: #856404;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-warning p {
    color: #856404;
    margin-bottom: 10px;
}

.disclaimer-warning ul {
    color: #856404;
    margin-left: 20px;
    margin-bottom: 15px;
}

.disclaimer-warning li {
    margin-bottom: 5px;
}

/* Quality Badges */
.quality-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: bold;
}

.quality-badge.hd {
    background: #007bff;
    color: white;
}

.quality-badge.audio {
    background: #28a745;
    color: white;
}

.quality-badge.sd {
    background: #6c757d;
    color: white;
}

/* API Status Indicator */
.api-status {
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.api-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.api-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.api-status.info {
    background: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

/* Responsive Design for Downloader */
@media (max-width: 768px) {
    .quality-filters {
        justify-content: center;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .download-details {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-basic-info {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .youtube-url-input {
        margin-bottom: 10px;
    }
    
    .tags-container {
        grid-template-columns: 1fr;
    }
    
    .earnings-calculator {
        grid-template-columns: 1fr;
    }
    
    .infoYt-header h2 {
        font-size: 1.8em;
    }
    
    .info-section {
        padding: 20px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-icon {
        font-size: 2em;
        min-height: 50px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .progress-step {
        flex: 0 0 calc(50% - 10px);
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .earnings-grid, .data-grid, .risk-grid {
        grid-template-columns: 1fr;
    }
    
    .video-type-indicator {
        flex-direction: column;
        gap: 10px;
    }
}