/* HTTP Headers Analyzer Styles */
.yan-tools-http-headers-analyzer {
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.yan-tools-http-headers-analyzer .yan-tools-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.yan-tools-http-headers-analyzer .yan-tools-header h2 {    color: white;

    margin: 0 0 1rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.yan-tools-http-headers-analyzer .yan-tools-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.yan-tools-http-headers-analyzer .yan-tools-main-content {
    margin-bottom: 2rem;
}

/* Analysis Panel */
.yan-tools-http-headers-analyzer .yan-tools-analysis-panel {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
    margin-bottom: 2rem;
}

.yan-tools-http-headers-analyzer .yan-tools-analysis-form {
    display: grid;
    grid-template-columns: 1fr 200px auto;
    gap: 1rem;
    align-items: end;
}

.yan-tools-http-headers-analyzer .yan-tools-form-group {
    margin-bottom: 0;
}

.yan-tools-http-headers-analyzer .yan-tools-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.yan-tools-http-headers-analyzer .yan-tools-input,
.yan-tools-http-headers-analyzer .yan-tools-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.yan-tools-http-headers-analyzer .yan-tools-input:focus,
.yan-tools-http-headers-analyzer .yan-tools-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.yan-tools-http-headers-analyzer .yan-tools-form-actions {
    display: flex;
    gap: 0.5rem;
}

/* Results Panel */
.yan-tools-http-headers-analyzer .yan-tools-results-panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
    overflow: hidden;
    margin-bottom: 2rem;
}

.yan-tools-http-headers-analyzer .yan-tools-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.yan-tools-http-headers-analyzer .yan-tools-results-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.yan-tools-http-headers-analyzer .yan-tools-results-actions {
    display: flex;
    gap: 0.5rem;
}

/* Scores Section */
.yan-tools-http-headers-analyzer .yan-tools-scores-section {
    padding: 2rem;
    border-bottom: 1px solid #e1e5e9;
}

.yan-tools-http-headers-analyzer .yan-tools-scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.yan-tools-http-headers-analyzer .yan-tools-score-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.yan-tools-http-headers-analyzer .yan-tools-score-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.yan-tools-http-headers-analyzer .yan-tools-score-card.excellent {
    background: linear-gradient(135deg, #d5f4e6, #a8e6cf);
    border-color: #27ae60;
}

.yan-tools-http-headers-analyzer .yan-tools-score-card.good {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    border-color: #17a2b8;
}

.yan-tools-http-headers-analyzer .yan-tools-score-card.fair {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-color: #ffc107;
}

.yan-tools-http-headers-analyzer .yan-tools-score-card.poor {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border-color: #dc3545;
}

.yan-tools-http-headers-analyzer .yan-tools-score-card.critical {
    background: linear-gradient(135deg, #f5c6cb, #f1aeb5);
    border-color: #e74c3c;
}

.yan-tools-http-headers-analyzer .yan-tools-score-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.yan-tools-http-headers-analyzer .yan-tools-score-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.yan-tools-http-headers-analyzer .yan-tools-score-percentage {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.yan-tools-http-headers-analyzer .yan-tools-score-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Headers Section */
.yan-tools-http-headers-analyzer .yan-tools-headers-section {
    padding: 2rem;
    border-bottom: 1px solid #e1e5e9;
}

.yan-tools-http-headers-analyzer .yan-tools-headers-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.yan-tools-http-headers-analyzer .yan-tools-header-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.yan-tools-http-headers-analyzer .yan-tools-header-tab.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.yan-tools-http-headers-analyzer .yan-tools-header-tab:hover {
    color: #2c3e50;
}

.yan-tools-http-headers-analyzer .yan-tools-headers-content {
    min-height: 200px;
}

.yan-tools-http-headers-analyzer .yan-tools-headers-list {
    display: none;
}

.yan-tools-http-headers-analyzer .yan-tools-headers-list.active {
    display: block;
}

.yan-tools-http-headers-analyzer .yan-tools-header-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.yan-tools-http-headers-analyzer .yan-tools-header-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.yan-tools-http-headers-analyzer .yan-tools-header-item.present {
    background: #d5f4e6;
    border-color: #27ae60;
}

.yan-tools-http-headers-analyzer .yan-tools-header-item.missing {
    background: #f8d7da;
    border-color: #dc3545;
}

.yan-tools-http-headers-analyzer .yan-tools-header-info {
    flex: 1;
    margin-right: 1rem;
}

.yan-tools-http-headers-analyzer .yan-tools-header-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.yan-tools-http-headers-analyzer .yan-tools-header-value {
    font-size: 0.9rem;
    color: #7f8c8d;
    word-break: break-all;
}

.yan-tools-http-headers-analyzer .yan-tools-header-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.yan-tools-http-headers-analyzer .yan-tools-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.yan-tools-http-headers-analyzer .yan-tools-status-present {
    background: #27ae60;
}

.yan-tools-http-headers-analyzer .yan-tools-status-missing {
    background: #e74c3c;
}

.yan-tools-http-headers-analyzer .yan-tools-status-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yan-tools-http-headers-analyzer .yan-tools-status-present .yan-tools-status-label {
    color: #27ae60;
}

.yan-tools-http-headers-analyzer .yan-tools-status-missing .yan-tools-status-label {
    color: #e74c3c;
}

/* Header expand/collapse functionality */
.yan-tools-http-headers-analyzer .yan-tools-header-expand-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.yan-tools-http-headers-analyzer .yan-tools-header-expand-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.yan-tools-http-headers-analyzer .yan-tools-header-full-value {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-all;
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
}

.yan-tools-http-headers-analyzer .yan-tools-header-item.expanded .yan-tools-header-value {
    max-height: none;
    overflow: visible;
}

.yan-tools-http-headers-analyzer .yan-tools-header-item.expanded .yan-tools-header-value:after {
    display: none;
}

/* Recommendations Section */
.yan-tools-http-headers-analyzer .yan-tools-recommendations-section {
    padding: 2rem;
}

.yan-tools-http-headers-analyzer .yan-tools-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.yan-tools-http-headers-analyzer .yan-tools-recommendation-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.yan-tools-http-headers-analyzer .yan-tools-recommendation-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.yan-tools-http-headers-analyzer .yan-tools-recommendation-card.security {
    border-left: 4px solid #e74c3c;
}

.yan-tools-http-headers-analyzer .yan-tools-recommendation-card.performance {
    border-left: 4px solid #f39c12;
}

.yan-tools-http-headers-analyzer .yan-tools-recommendation-card.caching {
    border-left: 4px solid #3498db;
}

.yan-tools-http-headers-analyzer .yan-tools-recommendation-card.cors {
    border-left: 4px solid #9b59b6;
}

.yan-tools-http-headers-analyzer .yan-tools-recommendation-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.yan-tools-http-headers-analyzer .yan-tools-recommendation-description {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.yan-tools-http-headers-analyzer .yan-tools-recommendation-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* History Panel */
.yan-tools-http-headers-analyzer .yan-tools-history-panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
    overflow: hidden;
    margin-bottom: 2rem;
}

.yan-tools-http-headers-analyzer .yan-tools-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.yan-tools-http-headers-analyzer .yan-tools-history-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.yan-tools-http-headers-analyzer .yan-tools-history-content {
    padding: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.yan-tools-http-headers-analyzer .yan-tools-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.yan-tools-http-headers-analyzer .yan-tools-history-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.yan-tools-http-headers-analyzer .yan-tools-history-info {
    flex: 1;
    margin-right: 1rem;
}

.yan-tools-http-headers-analyzer .yan-tools-history-url {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.yan-tools-http-headers-analyzer .yan-tools-history-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.yan-tools-http-headers-analyzer .yan-tools-history-actions {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.yan-tools-http-headers-analyzer .yan-tools-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.yan-tools-http-headers-analyzer .yan-tools-btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.yan-tools-http-headers-analyzer .yan-tools-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.yan-tools-http-headers-analyzer .yan-tools-btn-primary:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.yan-tools-http-headers-analyzer .yan-tools-btn-secondary {
    background: #95a5a6;
    color: white;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
}

.yan-tools-http-headers-analyzer .yan-tools-btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.yan-tools-http-headers-analyzer .yan-tools-btn-danger {
    background: #e74c3c;
    color: white;
}

.yan-tools-http-headers-analyzer .yan-tools-btn-danger:hover {
    background: #c0392b;
}

.yan-tools-http-headers-analyzer .yan-tools-btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Info Panel */
.yan-tools-http-headers-analyzer .yan-tools-info-panel {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
}

.yan-tools-http-headers-analyzer .yan-tools-info h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
}

.yan-tools-http-headers-analyzer .yan-tools-info h4 {
    margin: 1.5rem 0 0.5rem 0;
    color: #34495e;
    font-size: 1.1rem;
    font-weight: 600;
}

.yan-tools-http-headers-analyzer .yan-tools-info p {
    margin: 0.5rem 0;
    color: #555;
}

.yan-tools-http-headers-analyzer .yan-tools-info ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.yan-tools-http-headers-analyzer .yan-tools-info li {
    margin-bottom: 0.5rem;
    color: #555;
}

.yan-tools-http-headers-analyzer .yan-tools-info strong {
    color: #2c3e50;
}

/* ===== НАВИГАЦИЯ МЕЖДУ АДДОНАМИ ===== */
.yan-tools-cross-addon-nav {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

/* Заголовок удален - стили больше не нужны */

.yan-tools-cross-addon-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.yan-tools-cross-addon-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.yan-tools-cross-addon-btn:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.yan-tools-cross-addon-btn .yan-tools-btn-icon {
    font-size: 1.2rem;
}

/* Мобильная версия навигации */
@media (max-width: 768px) {
    .yan-tools-cross-addon-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .yan-tools-cross-addon-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .yan-tools-http-headers-analyzer .yan-tools-header h2 {
        color: white;
        font-size: 2rem;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-analysis-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-form-actions {
        justify-content: center;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-scores-grid {
        grid-template-columns: 1fr;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-headers-tabs {
        flex-wrap: wrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-tab {
        white-space: nowrap;
        min-width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Мобильная версия заголовков - компактное отображение */
    .yan-tools-http-headers-analyzer .yan-tools-header-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-info {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-name {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        word-break: break-word;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-value {
        font-size: 0.85rem;
        line-height: 1.4;
        background: rgba(255, 255, 255, 0.7);
        padding: 0.5rem;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        word-break: break-all;
        max-height: 3rem;
        overflow: hidden;
        position: relative;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-value:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1rem;
        background: linear-gradient(transparent, rgba(255, 255, 255, 0.7));
        pointer-events: none;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-status {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-status-indicator {
        width: 12px;
        height: 12px;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-status-label {
        font-size: 0.8rem;
        font-weight: 700;
    }
    
    /* Специальные стили для отсутствующих заголовков */
    .yan-tools-http-headers-analyzer .yan-tools-header-item.missing {
        background: linear-gradient(135deg, #f8d7da, #f5c6cb);
        border-color: #dc3545;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-item.missing .yan-tools-header-value {
        background: rgba(220, 53, 69, 0.1);
        border-color: rgba(220, 53, 69, 0.2);
        color: #721c24;
        font-style: italic;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-item.missing .yan-tools-header-status {
        background: rgba(220, 53, 69, 0.1);
        border-color: rgba(220, 53, 69, 0.2);
    }
    
    /* Специальные стили для присутствующих заголовков */
    .yan-tools-http-headers-analyzer .yan-tools-header-item.present {
        background: linear-gradient(135deg, #d5f4e6, #a8e6cf);
        border-color: #27ae60;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-item.present .yan-tools-header-value {
        background: rgba(39, 174, 96, 0.1);
        border-color: rgba(39, 174, 96, 0.2);
        color: #155724;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-item.present .yan-tools-header-status {
        background: rgba(39, 174, 96, 0.1);
        border-color: rgba(39, 174, 96, 0.2);
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-results-actions {
        justify-content: center;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-history-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-history-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-history-info {
        margin-right: 0;
    }
    
    /* Улучшения для raw headers в мобильной версии */
    .yan-tools-http-headers-analyzer .yan-tools-raw-headers-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-raw-headers-actions {
        justify-content: center;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-raw-headers-content pre {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    /* Мобильные стили для кнопок разворачивания */
    .yan-tools-http-headers-analyzer .yan-tools-header-expand-btn {
        width: 100%;
        padding: 0.5rem;
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
    
    .yan-tools-http-headers-analyzer .yan-tools-header-full-value {
        font-size: 0.8rem;
        padding: 0.5rem;
        max-height: 150px;
    }
    
    /* Улучшенное отображение для отсутствующих заголовков */
    .yan-tools-http-headers-analyzer .yan-tools-header-item.missing .yan-tools-header-value {
        font-style: italic;
        opacity: 0.8;
    }
    
    /* Анимация для разворачивания */
    .yan-tools-http-headers-analyzer .yan-tools-header-full-value {
        transition: all 0.3s ease;
    }
}

/* Loading Animation */
.yan-tools-http-headers-analyzer .yan-tools-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success/Error Messages */
.yan-tools-http-headers-analyzer .yan-tools-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.yan-tools-http-headers-analyzer .yan-tools-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.yan-tools-http-headers-analyzer .yan-tools-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Custom scrollbar */
.yan-tools-http-headers-analyzer .yan-tools-history-content::-webkit-scrollbar {
    width: 6px;
}

.yan-tools-http-headers-analyzer .yan-tools-history-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.yan-tools-http-headers-analyzer .yan-tools-history-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.yan-tools-http-headers-analyzer .yan-tools-history-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Raw Headers Section */
.yan-tools-http-headers-analyzer .yan-tools-raw-headers-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
    margin-top: 1rem;
}

.yan-tools-http-headers-analyzer .yan-tools-raw-headers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e5e9;
}

.yan-tools-http-headers-analyzer .yan-tools-raw-headers-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.yan-tools-http-headers-analyzer .yan-tools-raw-headers-actions {
    display: flex;
    gap: 0.5rem;
}

.yan-tools-http-headers-analyzer .yan-tools-raw-headers-content {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.yan-tools-http-headers-analyzer .yan-tools-raw-headers-content pre {
    margin: 0;
    padding: 1rem;
    background: transparent;
    border: none;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #2c3e50;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.yan-tools-http-headers-analyzer .yan-tools-raw-headers-content code {
    background: transparent;
    padding: 0;
    border: none;
    font-family: inherit;
    color: inherit;
}

/* Collapsed state */
.yan-tools-http-headers-analyzer .yan-tools-raw-headers-content.collapsed {
    max-height: 100px;
    overflow: hidden;
    position: relative;
}

.yan-tools-http-headers-analyzer .yan-tools-raw-headers-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, #f8f9fa);
    pointer-events: none;
}
