/**
 * Blues Events - Frontend Styles
 */

/* ------ Allgemeine Stile ------ */
.blues-events-container {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.blues-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.blues-button:hover {
    background-color: #005a87;
    color: #fff;
}

/* ------ Filter-Stile ------ */
.blues-events-filters {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.blues-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.blues-filter-item {
    flex: 1;
    min-width: 200px;
}

.blues-filter-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.blues-filter-item select,
.blues-filter-item input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.blues-filter-button {
    padding: 8px 16px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.blues-filter-button:hover {
    background-color: #005a87;
}

/* ------ Veranstaltungsliste ------ */
.blues-events-list {
    margin-top: 20px;
}

.blues-event-item {
    display: flex;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.blues-event-date {
    min-width: 80px;
    height: 80px;
    margin-right: 20px;
    background-color: #0073aa;
    color: #fff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blues-event-day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.blues-event-month {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
}

.blues-event-details {
    flex: 1;
}

.blues-event-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.blues-event-title a {
    color: #333;
    text-decoration: none;
}

.blues-event-title a:hover {
    color: #0073aa;
}

.blues-event-meta {
    margin-bottom: 15px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.blues-event-time,
.blues-event-venue {
    display: flex;
    align-items: center;
}

.blues-event-time i,
.blues-event-venue i {
    margin-right: 5px;
}

.blues-event-excerpt {
    margin-bottom: 15px;
    color: #333;
}

.blues-event-image {
    width: 120px;
    margin-left: 20px;
}

.blues-event-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.blues-event-status {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.blues-event-cancelled .blues-event-status {
    background-color: #F44336;
}

.blues-event-postponed .blues-event-status {
    background-color: #FF9800;
}

.blues-event-more {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.blues-event-more:hover {
    background-color: #e0e0e0;
    color: #0073aa;
}

/* ------ Kalender ------ */
.blues-calendar {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
}

.blues-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.blues-calendar-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.blues-nav-button {
    padding: 5px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.blues-nav-button:hover {
    background-color: #f1f1f1;
}

.blues-calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.blues-calendar-table th {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.blues-calendar-table td {
    padding: 0;
    border: 1px solid #eee;
    vertical-align: top;
    height: 100px;
}

.blues-day {
    position: relative;
    min-height: 100px;
}

.blues-day-number {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background-color: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.blues-event {
    margin: 25px 5px 5px 5px;
    padding: 5px;
    font-size: 12px;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blues-event-scheduled {
    background-color: #4CAF50;
}

.blues-event-cancelled {
    background-color: #F44336;
}

.blues-event-postponed {
    background-color: #FF9800;
}

.blues-empty-day {
    background-color: #f9f9f9;
}

.blues-calendar-legend {
    display: flex;
    justify-content: center;
    padding: 10px;
    border-top: 1px solid #eee;
}

.blues-legend-item {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.blues-legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 5px;
}

.blues-legend-text {
    font-size: 12px;
}

/* ------ Einreichungsformular ------ */
.blues-event-submission-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.blues-event-submission-form h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.blues-form-row {
    margin-bottom: 20px;
}

.blues-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.blues-form-row input[type="text"],
.blues-form-row input[type="email"],
.blues-form-row input[type="url"],
.blues-form-row input[type="date"],
.blues-form-row input[type="time"],
.blues-form-row select,
.blues-form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.blues-form-row textarea {
    min-height: 150px;
}

.blues-form-columns {
    display: flex;
    gap: 20px;
}

.blues-form-column {
    flex: 1;
}

.blues-form-note {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.blues-submit-button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.blues-submit-button:hover {
    background-color: #005a87;
}

.blues-submission-success,
.blues-submission-error {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.blues-submission-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.blues-submission-error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* ------ Musiker-Verzeichnis ------ */
.blues-musicians-directory {
    margin-bottom: 30px;
}

.blues-musicians-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blues-musician-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.blues-musician-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blues-musician-image {
    height: 200px;
    overflow: hidden;
}

.blues-musician-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blues-musician-details {
    padding: 20px;
}

.blues-musician-title {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 600;
}

.blues-musician-title a {
    color: #333;
    text-decoration: none;
}

.blues-musician-title a:hover {
    color: #0073aa;
}

.blues-musician-excerpt {
    margin-bottom: 15px;
    color: #666;
}

.blues-musician-website {
    margin-bottom: 15px;
}

.blues-musician-website a {
    color: #0073aa;
    text-decoration: none;
}

.blues-musician-website a:hover {
    text-decoration: underline;
}

.blues-musician-more {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.blues-musician-more:hover {
    background-color: #e0e0e0;
    color: #0073aa;
}

/* ------ Veranstaltungsorte-Verzeichnis ------ */
.blues-venues-directory {
    margin-bottom: 30px;
}

.blues-venues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blues-venue-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.blues-venue-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blues-venue-image {
    height: 200px;
    overflow: hidden;
}

.blues-venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blues-venue-details {
    padding: 20px;
}

.blues-venue-title {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 600;
}

.blues-venue-title a {
    color: #333;
    text-decoration: none;
}

.blues-venue-title a:hover {
    color: #0073aa;
}

.blues-venue-address {
    margin-bottom: 15px;
    color: #666;
}

.blues-venue-excerpt {
    margin-bottom: 15px;
    color: #666;
}

.blues-venue-website {
    margin-bottom: 15px;
}

.blues-venue-website a {
    color: #0073aa;
    text-decoration: none;
}

.blues-venue-website a:hover {
    text-decoration: underline;
}

.blues-venue-more {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.blues-venue-more:hover {
    background-color: #e0e0e0;
    color: #0073aa;
}

/* ------ Kartenansicht ------ */
.blues-venues-map-container {
    margin-top: 30px;
}

.blues-venues-map {
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #eee;
}

.blues-map-error,
.blues-no-map-data {
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
    text-align: center;
    color: #666;
}

/* ------ Responsive Design ------ */
@media screen and (max-width: 992px) {
    .blues-musicians-grid,
    .blues-venues-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .blues-event-item {
        flex-direction: column;
    }
    
    .blues-event-date {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: flex-start;
    }
    
    .blues-event-image {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }
    
    .blues-form-columns {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 576px) {
    .blues-musicians-grid,
    .blues-venues-grid {
        grid-template-columns: 1fr;
    }
    
    .blues-filter-row {
        flex-direction: column;
    }
    
    .blues-filter-item {
        width: 100%;
    }
}