.youtube-tools-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styles */
.tools-header {
    text-align: center;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    padding: 30px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 30px;
}

.tools-header h2 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
}

.tools-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1em;
}

/* Input Section */
.youtube-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);
}

.get-details-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;
}

.get-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.loading {
    text-align: center;
    color: #ff0000;
    font-weight: bold;
    margin-top: 15px;
    font-size: 16px;
}

/* Tools Dashboard */
.tools-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tool-card {
    background: white;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: #ff0000;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.2);
}

.tool-card.active {
    border-color: #ff0000;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
}

.tool-icon {
    font-size: 2.5em;
    color: #ff0000;
    margin-bottom: 15px;
}

.tool-card h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2em;
}

.tool-card p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

/* Results Container */
#results-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.result-section {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.result-section:last-child {
    border-bottom: none;
}

.result-section h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.5em;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Video Details */
.video-details {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: start;
}

.video-thumbnail img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-info h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.4em;
    line-height: 1.4;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff0000;
}

.info-item strong {
    color: #555;
}

/* Status Cards */
.status-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.status-icon {
    font-size: 2.5em;
}

.status-content h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.status-content p {
    margin: 0;
    color: #666;
}

/* Thumbnail Grid */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.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;
}

.quality {
    font-weight: bold;
    color: #333;
    display: block;
}

.dimensions {
    color: #666;
    font-size: 0.9em;
}

.download-btn {
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #218838;
}

/* Channel Info */
.channel-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.channel-details .detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.channel-id {
    font-family: monospace;
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Shadow Ban Metrics */
.shadowban-metrics {
    display: grid;
    gap: 20px;
}

.metric {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.metric-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.metric-bar {
    background: #e9ecef;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 1s ease-in-out;
}

/* Earnings Calculator */
.earnings-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.calculator-inputs {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.earning-card {
    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;
    justify-content: space-around;
    margin-top: 20px;
}

.earning-breakdown div {
    font-size: 0.9em;
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #ff0000;
}

.analytics-card h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1em;
}

.analytics-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #ff0000;
}

/* Tags Container */
.tags-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.tags-section h5 {
    margin: 0 0 15px 0;
    color: #333;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag, .hashtag, .suggested-tag {
    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;
}

.suggested-tag {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.no-tags {
    color: #888;
    font-style: italic;
}

/* Monetization Details */
.monetization-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}

.label {
    font-weight: bold;
    color: #555;
}

.value.positive {
    color: #28a745;
    font-weight: bold;
}

.value.warning {
    color: #ffc107;
    font-weight: bold;
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-dashboard {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .video-details {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .youtube-url-input {
        margin-bottom: 10px;
    }
    
    .earnings-calculator {
        grid-template-columns: 1fr;
    }
    
    .earning-breakdown {
        flex-direction: column;
        gap: 10px;
    }
    
    .tools-header h2 {
        font-size: 1.8em;
    }
    
    .result-section {
        padding: 20px;
    }
}