/* Medical Disclaimer Styles */
.medical-disclaimer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Section */
.disclaimer-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
}

.warning-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.disclaimer-title {
    font-size: 32px;
    font-weight: 800;
    margin: 15px 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.disclaimer-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 20px 0;
    opacity: 0.95;
}

.disclaimer-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
}

.disclaimer-warning i {
    font-size: 24px;
}

/* Content Section */
.disclaimer-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.disclaimer-section {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.disclaimer-section:last-child {
    border-bottom: none;
}

.intro-section {
    background: #f8f9fa;
}

.intro-text {
    font-size: 18px;
    text-align: center;
    color: #555;
    margin: 0;
}

/* Key Points Section */
.key-points-section {
    background: white;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    border-bottom: 3px solid #ff6b6b;
    padding-bottom: 10px;
}

.key-point {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #ff6b6b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.key-point:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.point-number {
    min-width: 40px;
    height: 40px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.point-content h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.point-content p {
    margin: 0 0 10px 0;
    color: #555;
}

.point-list {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.point-list li {
    margin-bottom: 8px;
    color: #666;
}

/* Acknowledgment Section */
.acknowledgment-section {
    background: #e8f5e8;
}

.acknowledgment-list {
    margin-top: 20px;
}

.acknowledgment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.acknowledgment-item i {
    color: #28a745;
    font-size: 20px;
    flex-shrink: 0;
}

.acknowledgment-item span {
    font-weight: 500;
    color: #2c3e50;
}

/* Footer Info Section */
.footer-info-section {
    background: #f1f3f4;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    font-size: 14px;
    color: #666;
}

.info-item strong {
    color: #2c3e50;
}

.info-item a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Action Buttons */
.disclaimer-actions {
    padding: 30px;
    text-align: center;
    background: white;
    gap: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #28a745;
    color: white;
}

.btn-primary:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Mobile Disclaimer Banner */
.mobile-disclaimer-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ff6b6b;
    color: white;
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    display: block;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.banner-content i {
    font-size: 20px;
    flex-shrink: 0;
}

.banner-content span {
    font-weight: 500;
    flex-grow: 1;
}

.banner-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .medical-disclaimer-container {
        padding: 15px;
        margin-bottom: 80px; /* Space for mobile banner */
    }

    .disclaimer-header {
        padding: 20px;
        margin-bottom: 20px;
    }

    .disclaimer-title {
        font-size: 24px;
    }

    .disclaimer-subtitle {
        font-size: 16px;
    }

    .disclaimer-warning {
        font-size: 16px;
        padding: 12px 20px;
    }

    .disclaimer-section {
        padding: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .key-point {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .point-number {
        align-self: flex-start;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .disclaimer-actions {
        flex-direction: column;
        padding: 20px;
    }

    .btn-primary, .btn-secondary {
        min-width: auto;
        width: 100%;
    }

    .banner-content span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .disclaimer-title {
        font-size: 20px;
    }

    .disclaimer-subtitle {
        font-size: 14px;
    }

    .intro-text {
        font-size: 16px;
    }

    .key-point {
        padding: 12px;
    }

    .point-content h4 {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .mobile-disclaimer-banner,
    .disclaimer-actions {
        display: none;
    }
    
    .medical-disclaimer-container {
        box-shadow: none;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .disclaimer-header {
        background: none !important;
        color: black !important;
        box-shadow: none;
    }
    
    .key-point {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
