/* Witamina D page specific styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-section h1 { font-size: 42px; margin-bottom: 10px; }
.hero-section .subtitle { font-size: 18px; opacity: 0.95; margin-bottom: 15px; }
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pdf-button {
    background: white;
    color: #FF9800;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
}
.pdf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.pdf-button svg {
    width: 20px;
    height: 20px;
    fill: #FF9800;
}

/* Case Container */
.case-container { background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 30px; }

/* Section Header */
.section-header {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
    color: white;
    padding: 25px 40px;
    border-radius: 12px 12px 0 0;
    font-size: 24px;
    font-weight: bold;
}

/* Content Section */
.content-section {
    padding: 40px;
    line-height: 1.8;
    color: #333;
}
.content-section h3 {
    color: #FF9800;
    font-size: 22px;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFE0B2;
}
.content-section p {
    margin-bottom: 15px;
    text-align: justify;
}
.content-section strong {
    color: #E65100;
}

/* Patient Info Box */
.patient-info {
    background: #FFF3E0;
    border-left: 4px solid #FF9800;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}
.patient-info h4 {
    color: #E65100;
    margin-bottom: 10px;
    font-size: 18px;
}
.patient-info ul {
    list-style: none;
    padding: 0;
}
.patient-info li {
    padding: 5px 0;
    display: flex;
    gap: 10px;
}
.patient-info li:before {
    content: "▸";
    color: #FF9800;
    font-weight: bold;
}

/* Table Styles */
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.results-table thead {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
    color: white;
}
.results-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
}
.results-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}
.results-table tbody tr:nth-child(even) {
    background: #FFF8F0;
}
.results-table tbody tr:hover {
    background: #FFE0B2;
}
.highlight-cell {
    background: #FFECB3 !important;
    font-weight: bold;
    color: #E65100;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
    margin: 30px 0;
}
.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #FF9800, #FFB74D);
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    margin: 30px 0;
    display: flex;
    align-items: center;
}
.timeline-date {
    flex: 1;
    text-align: right;
    padding-right: 40px;
    font-weight: bold;
    color: #E65100;
}
.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #FF9800;
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1;
}
.timeline-content {
    flex: 1;
    padding-left: 40px;
    background: #FFF3E0;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 3px solid #FF9800;
}

/* Discussion Box */
.discussion-box {
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    border: 2px solid #FFD54F;
}
.discussion-box h3 {
    color: #E65100;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}
.discussion-box p {
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
}

/* Images Grid */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}
.image-box {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}
.image-box img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}
.image-box .caption {
    font-size: 14px;
    color: #666;
    font-style: italic;
}
.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #E0E0E0, #BDBDBD);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #757575;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Key Points */
.key-points {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 30px 0;
}
.key-points h3 {
    color: #FF9800;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}
.key-points ul {
    list-style: none;
    padding: 0;
}
.key-points li {
    padding: 12px 0 12px 40px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.key-points li:before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #FF9800, #FFB74D);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
