/* details.css - Specific styles for the details page */

.details-page-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    width: 100%; /* 너비 강제 */
    overflow-wrap: break-word; /* 텍스트 넘침 방지 */
    word-break: break-word;
}

.warning-box {
    background: #FFFBEB; /* Light yellow background */
    border: 1px solid #FDE68A; /* Yellow border */
    border-left: 5px solid #FACC15; /* Thick yellow left border for emphasis */
    color: #92400E; /* Dark amber text color */
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.warning-box p {
    margin: 0;
}

.warning-box strong {
    color: #B45309; /* Darker amber for strong text */
    font-weight: 700;
}

.details-page-card h1 {
    font-size: 1.5rem; font-weight: 900;
    color: var(--text-primary); margin-bottom: 8px;
}

.details-page-card .date {
    font-size: 0.9rem; color: var(--text-secondary);
    margin-bottom: 24px; display: block;
}

.details-content {
    font-size: 1rem; line-height: 1.8; color: var(--text-primary);
}

.details-content h4 {
    margin-top: 2.5em;
    margin-bottom: 1.25em;
}

.details-content p { margin-bottom: 1.5em; }

.details-content a {
    color: var(--accent-primary); text-decoration: none;
    border-bottom: 1px solid var(--accent-primary);
    transition: color 0.2s, border-color 0.2s;
}

.details-content a:hover {
    color: var(--accent-hover); border-color: var(--accent-hover);
}

.text-center {
    text-align: center;
}

.highlight-center {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin: 2em 0;
    padding: 0.5em;
    background: var(--bg-main);
    border-radius: 8px;
}

.faded-italic {
    font-style: italic;
    color: #6b7280; /* Gray-500 */
}

.small-text {
    font-size: 0.875rem;
    color: #6b7280; /* Gray-500 */
}

.probability-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 20px;
    margin: 24px auto;
    text-align: center;
    max-width: 80%;
}

.probability-box p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 8px 0;
}

.probability-box strong {
    color: var(--accent-primary);
    font-size: 18px;
    font-weight: 800;
}
