/* Postcard Specifications Page - Page-specific overrides and styles */

/* Override spec-card background to be white and distinct from page background */
.spec-card {
    background: var(--color-bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.spec-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.spec-value-inch {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* SVG Diagram Styles */

/* SVG Diagram Styles */
.bleed-diagram svg {
    width: 100%;
    height: auto;
}

.dimension-label-large {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 700;
    fill: var(--color-cta);
}

.center-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 700;
    fill: var(--color-text-dark);
}

.center-label-sub {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 600;
    fill: var(--color-text-dark);
}

.center-label-note {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    fill: var(--color-text-muted);
    font-style: italic;
}

.bleed-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 700;
    fill: var(--color-cta);
}

.dimension-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    fill: #999;
}

.dimension-label-inner {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    fill: #666;
}

.legend-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    fill: var(--color-text-muted);
}

.zone-label-red {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 700;
    fill: #E63946;
}

.zone-label-orange {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 700;
    fill: #F4A261;
}

.zone-label-green {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 700;
    fill: #2A9D8F;
}

.zone-annotation-red {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    fill: #E63946;
}

.zone-annotation-orange {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    fill: #F4A261;
}

.zone-annotation-green {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    fill: #2A9D8F;
}

.dimension-text-small {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 10px;
    font-weight: 600;
    fill: #666;
}

.legend-text-small {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    fill: var(--color-text-muted);
}

.safe-zone-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 8px;
    font-weight: 700;
    fill: #2A9D8F;
}

/* Download Section Styles */
.download-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(102, 126, 234, 0.04) 100%);
    border-left: 4px solid var(--color-cta);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.download-section h3 {
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.download-section > p {
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

.template-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.btn-template {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--color-cta);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-cta);
    flex: 1;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.btn-template:hover {
    background: var(--color-hover, #5a6fd8);
    border-color: var(--color-hover, #5a6fd8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
    color: white;
    text-decoration: none;
}

.btn-template:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.btn-template svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spec-card {
    animation: fadeIn 0.6s ease-out backwards;
}

.spec-card:nth-child(1) { animation-delay: 0.1s; }
.spec-card:nth-child(2) { animation-delay: 0.2s; }
.spec-card:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .template-buttons {
        flex-direction: column;
    }

    .btn-template {
        width: 100%;
        justify-content: center;
    }
}
