/* Simple placeholder styles for Broadway Producers Database */

/* Show card styling */
.show-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.show-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Show image container */
.show-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* 2:3 aspect ratio for posters */
    overflow: hidden;
}

/* Show image */
.show-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Show overlay */
.show-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.show-card:hover .show-overlay {
    opacity: 1;
}

.show-overlay span {
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 4px;
}

/* Show info */
.show-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.show-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.show-info p {
    margin: 4px 0;
    font-size: 0.9rem;
    color: #666;
}

/* Shows grid */
.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Modal styling */
.modal-show {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.modal-show-image {
    max-width: 300px;
    margin: 0 auto 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-show-image img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-show-info {
    width: 100%;
}

.modal-show-info h2 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #0066cc;
}

.show-year {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
}

.show-producers {
    margin-top: 20px;
}

.producer-group {
    margin-bottom: 15px;
}

.producer-group h4 {
    margin-bottom: 5px;
    color: #666;
}

.producer-group ul {
    margin: 0;
    padding-left: 20px;
}

.producer-group ul li {
    margin-bottom: 3px;
    cursor: pointer;
    transition: color 0.2s;
}

.producer-group ul li:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .modal-show {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .modal-show-image {
        margin-right: 30px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .modal-show-info {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .shows-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .show-info h3 {
        font-size: 1rem;
    }
    
    .show-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .shows-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
}

/* Stats view placeholders */
.stats-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
}

/* Chart container */
.chart-container {
    position: relative;
    height: 400px;
    margin: 20px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}