/* ============================================
   PDF Export — Print screen kalkulačky
   Záhlaví a zápatí s fotkou, emailem, hero obrázkem
   ============================================ */

.pdf-export-wrap,
#pdf-export-container {
    width: 794px;
    height: 1122px;
    background: #0d1117;
    font-family: 'Outfit', -apple-system, sans-serif;
    color: #e6edf3;
    box-sizing: border-box;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.pdf-page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0d1117;
}

/* ---- ZÁHLAVÍ — na střed, větší písmo ---- */
.pdf-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: #0a0f1a;
    border-bottom: 2px solid #c9a84c;
    flex-shrink: 0;
}

.pdf-header-contact {
    text-align: center;
}

.pdf-header-name {
    font-size: 17px;
    font-weight: 700;
    color: #c9a84c;
    margin: 0 0 6px 0;
}

.pdf-header-details {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* ---- TĚLO — dvousloupcový layout + graf a tip na celou šířku ---- */
.pdf-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    overflow: hidden;
}

.pdf-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    flex-shrink: 0;
}

.pdf-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdf-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #c9a84c;
    margin: 0 0 8px 0;
}

.pdf-input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
}

.pdf-input-row .pdf-label {
    font-size: 12px;
    color: #94a3b8;
}

.pdf-input-row .pdf-value {
    font-size: 13px;
    font-weight: 600;
    color: #c9a84c;
}

.pdf-result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
}

.pdf-result-card.pdf-highlight {
    border-color: rgba(201, 168, 76, 0.5);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), #161b22);
}

.pdf-result-card .pdf-label {
    font-size: 12px;
    color: #94a3b8;
}

.pdf-result-card .pdf-value {
    font-size: 15px;
    font-weight: 700;
    color: #c9a84c;
}

.pdf-result-card.pdf-highlight .pdf-value {
    font-size: 17px;
    color: #e8c967;
}

.pdf-chart-wrap {
    padding: 16px 20px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.pdf-chart-img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    display: block;
}

.pdf-tip {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), transparent);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 8px;
    border-left: 4px solid #c9a84c;
    width: 100%;
    box-sizing: border-box;
}

.pdf-about-img-wrap {
    margin-top: 16px;
    width: 100%;
    text-align: center;
}

.pdf-about-img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.pdf-tip-title {
    font-size: 12px;
    font-weight: 700;
    color: #c9a84c;
    margin: 0 0 6px 0;
}

.pdf-tip p {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

/* ---- ZÁPATÍ — na střed, větší písmo ---- */
.pdf-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: #0a0f1a;
    border-top: 2px solid #c9a84c;
    flex-shrink: 0;
}

.pdf-footer-details {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    margin: 0;
}
