/**
 * Share Graphic Component Styles
 * Instagram-style share graphic generator
 */

/* Modal z-index - must be above other modals (reviewModal uses default 1055) */
#shareGraphicModal {
    z-index: 1070 !important;
}

#shareGraphicModal + .modal-backdrop {
    z-index: 1065 !important;
}

/* Preview modal */
#shareGraphicModal .modal-content {
    background: #1a1a1a;
}

#shareGraphicModal .modal-header {
    border-bottom-color: #333;
}

#shareGraphicModal .modal-footer {
    border-top-color: #333;
}

/* Preview container - scaled down to fit screen */
.share-graphic-preview {
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

/* The actual graphic that will be captured */
.share-graphic-canvas {
    width: 360px;  /* Preview size (1080/3) */
    height: 640px; /* Preview size (1920/3) */
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* For actual capture - full size */
.share-graphic-canvas.full-size {
    width: 1080px;
    height: 1920px;
    padding: 120px 90px;
}

/* Star rating */
.share-graphic-rating {
    color: #f5c518;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.share-graphic-canvas.full-size .share-graphic-rating {
    font-size: 6rem;
    margin-bottom: 60px;
}

.share-graphic-rating .star {
    font-size: 2.2rem;
}

.share-graphic-canvas.full-size .share-graphic-rating .star {
    font-size: 6.6rem;
}

.share-graphic-rating .half {
    font-size: 1.8rem;
    margin-left: 4px;
}

.share-graphic-canvas.full-size .share-graphic-rating .half {
    font-size: 5.4rem;
    margin-left: 12px;
}

/* Headline */
.share-graphic-headline {
    color: #e0e0e0;
    font-size: 1rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 16px;
    padding: 0 10px;
    max-width: 100%;
    line-height: 1.4;
}

.share-graphic-canvas.full-size .share-graphic-headline {
    font-size: 3rem;
    margin-bottom: 48px;
    padding: 0 30px;
}

/* Poster */
.share-graphic-poster {
    max-width: 220px;
    max-height: 330px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.share-graphic-canvas.full-size .share-graphic-poster {
    max-width: 660px;
    max-height: 990px;
    border-radius: 24px;
}

/* Title */
.share-graphic-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-top: 24px;
    line-height: 1.3;
}

.share-graphic-canvas.full-size .share-graphic-title {
    font-size: 4.2rem;
    margin-top: 72px;
}

/* Subtitle (venue/city for concerts) */
.share-graphic-subtitle {
    color: #aaaaaa;
    font-size: 0.85rem;
    margin-top: 6px;
    text-align: center;
}

.share-graphic-canvas.full-size .share-graphic-subtitle {
    font-size: 2.4rem;
    margin-top: 18px;
}

/* Year */
.share-graphic-year {
    color: #888888;
    font-size: 1rem;
    margin-top: 8px;
}

.share-graphic-canvas.full-size .share-graphic-year {
    font-size: 3rem;
    margin-top: 24px;
}

/* Branding section */
.share-graphic-branding {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.share-graphic-canvas.full-size .share-graphic-branding {
    gap: 24px;
}

.share-graphic-divider {
    color: #555;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-graphic-canvas.full-size .share-graphic-divider {
    font-size: 2.25rem;
    gap: 36px;
}

.share-graphic-divider::before,
.share-graphic-divider::after {
    content: '';
    width: 40px;
    height: 1px;
    background: #555;
}

.share-graphic-canvas.full-size .share-graphic-divider::before,
.share-graphic-canvas.full-size .share-graphic-divider::after {
    width: 120px;
    height: 3px;
}

.share-graphic-logo {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.share-graphic-canvas.full-size .share-graphic-logo {
    font-size: 4.5rem;
    letter-spacing: 3px;
}
