/* Страница побочных эффектов - стили */

/* Hero секция */
.side-effects-hero {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.warning-notice {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 600px;
}

.warning-icon {
    font-size: 1.5rem;
}

.warning-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Общий обзор */
.general-overview {
    padding: 80px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.key-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #3498db;
}

.fact-icon {
    font-size: 2rem;
    min-width: 40px;
}

.fact-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.fact-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Панель статистики */
.statistics-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: sticky;
    top: 2rem;
}

.statistics-panel h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.stat-circle {
    margin-bottom: 2rem;
}

.circle-chart {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: conic-gradient(#3498db 0% 85%, #e9ecef 85% 100%);
    position: relative;
}

.circle-chart::before {
    content: '';
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: absolute;
}

.percentage {
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.stat-circle p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.additional-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.stat-value {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Классификация по частоте */
.frequency-classification {
    padding: 80px 0;
}

.frequency-classification h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.frequency-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.frequency-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.frequency-card:hover {
    transform: translateY(-5px);
}

.frequency-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.frequency-card.very-common .frequency-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.frequency-card.common .frequency-header {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.frequency-card.uncommon .frequency-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.frequency-card.rare .frequency-header {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.frequency-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.frequency-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.frequency-body {
    padding: 2rem;
}

.frequency-description {
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.effect-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.effect-list li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid #f8f9fa;
}

.effect-list li:last-child {
    border-bottom: none;
}

.effect-list li::before {
    content: "•";
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Серьезные побочные эффекты */
.serious-effects {
    padding: 80px 0;
}

.serious-effects h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.serious-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.serious-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.serious-card:hover {
    transform: translateY(-5px);
}

.serious-card.critical {
    border-top: 4px solid #e74c3c;
}

.serious-card.high {
    border-top: 4px solid #f39c12;
}

.serious-header {
    padding: 1.5rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.serious-icon {
    font-size: 2rem;
    min-width: 40px;
}

.serious-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.25rem;
}

.urgency-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.urgency-badge.critical {
    background: #e74c3c;
    color: white;
}

.urgency-badge.high {
    background: #f39c12;
    color: white;
}

.serious-content {
    padding: 2rem;
}

.symptoms-section,
.action-section {
    margin-bottom: 1.5rem;
}

.symptoms-section:last-child,
.action-section:last-child {
    margin-bottom: 0;
}

.symptoms-section h4,
.action-section h4 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.symptoms-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.symptoms-section li {
    padding: 0.25rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.symptoms-section li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.action-section p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Аккордеон частых эффектов */
.common-effects {
    padding: 80px 0;
}

.common-effects h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.common-effects-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.accordion-header.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.accordion-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-toggle {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    padding: 2rem;
}

.effect-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-block h4 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.detail-block p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.detail-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-block li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.detail-block li::before {
    content: "→";
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Уровни срочности */
.when-to-call {
    padding: 80px 0;
}

.when-to-call h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.urgency-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.urgency-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.urgency-card.emergency {
    border-top: 4px solid #e74c3c;
}

.urgency-card.urgent {
    border-top: 4px solid #f39c12;
}

.urgency-card.routine {
    border-top: 4px solid #27ae60;
}

.urgency-header {
    padding: 2rem;
    text-align: center;
}

.urgency-card.emergency .urgency-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.urgency-card.urgent .urgency-header {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.urgency-card.routine .urgency-header {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.urgency-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.urgency-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.urgency-symptoms {
    list-style: none;
    padding: 2rem;
    margin: 0;
}

.urgency-symptoms li {
    padding: 0.75rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid #f8f9fa;
}

.urgency-symptoms li:last-child {
    border-bottom: none;
}

.urgency-card.emergency .urgency-symptoms li::before {
    content: "🚨";
    position: absolute;
    left: 0;
}

.urgency-card.urgent .urgency-symptoms li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.urgency-card.routine .urgency-symptoms li::before {
    content: "📝";
    position: absolute;
    left: 0;
}

/* Полезные советы */
.helpful-tips {
    padding: 80px 0;
}

.helpful-tips h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-left: 4px solid #3498db;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.tip-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.tip-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Поддержка и контакты */
.contact-support {
    padding: 80px 0;
}

.contact-support h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
}

.support-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.support-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    gap: 0.5rem;
    color: #555;
}

.contact-item strong {
    color: #2c3e50;
    min-width: 100px;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Финальное предупреждение */
.final-warning {
    padding: 60px 0;
}

.warning-card {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #f39c12;
    border-radius: 15px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.warning-card h3 {
    color: #d68910;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.warning-content p {
    color: #5d4e37;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.warning-content ul {
    list-style: none;
    padding: 0;
}

.warning-content li {
    padding: 0.5rem 0;
    color: #5d4e37;
    position: relative;
    padding-left: 1.5rem;
}

.warning-content li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

/* Адаптивный дизайн */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .statistics-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .warning-notice {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .overview-content h2,
    .frequency-classification h2,
    .serious-effects h2,
    .common-effects h2,
    .when-to-call h2,
    .helpful-tips h2,
    .contact-support h2 {
        font-size: 2rem;
    }
    
    .key-facts {
        grid-template-columns: 1fr;
    }
    
    .frequency-cards,
    .serious-grid,
    .urgency-levels,
    .tips-grid,
    .support-cards {
        grid-template-columns: 1fr;
    }
    
    .accordion-header {
        padding: 1rem 1.5rem;
    }
    
    .accordion-content {
        padding: 1.5rem;
    }
    
    .effect-details {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .general-overview,
    .frequency-classification,
    .serious-effects,
    .common-effects,
    .when-to-call,
    .helpful-tips,
    .contact-support {
        padding: 40px 0;
    }
    
    .final-warning {
        padding: 40px 0;
    }
    
    .fact-item,
    .tip-card,
    .support-card {
        padding: 1.5rem;
    }
    
    .serious-content,
    .urgency-symptoms {
        padding: 1.5rem;
    }
    
    .warning-card {
        padding: 1.5rem;
    }
    
    .circle-chart {
        width: 100px;
        height: 100px;
    }
    
    .circle-chart::before {
        width: 70px;
        height: 70px;
    }
    
    .percentage {
        font-size: 1.25rem;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.frequency-card,
.serious-card,
.urgency-card,
.tip-card,
.support-card {
    animation: fadeInUp 0.6s ease forwards;
}

.frequency-card:nth-child(2) {
    animation-delay: 0.1s;
}

.frequency-card:nth-child(3) {
    animation-delay: 0.2s;
}

.frequency-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Утилиты */
.bg-light {
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}