/**
 * Tour Dates Manager - Frontend Styles
 */

/* ==========================================================================
   Dark Style (baserat på Tour Dates 2026)
   ========================================================================== */

.tdm-style-dark {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.tdm-style-dark .tdm-dates-list {
    max-width: 950px;
    margin: 0 auto;
}

.tdm-style-dark .tdm-concert-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.tdm-style-dark .tdm-concert-item:last-child {
    border-bottom: none;
}

.tdm-style-dark .tdm-concert-item:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.02);
}

/* Datum kolumn */
.tdm-style-dark .tdm-concert-date {
    flex-shrink: 0;
    text-align: center;
    min-width: 100px;
}

.tdm-style-dark .tdm-date-day {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    color: #a8b3cf;
    letter-spacing: -2px;
}

.tdm-style-dark .tdm-date-month {
    font-size: 1rem;
    color: #7d8aa3;
    text-transform: capitalize;
    margin-top: 0.25rem;
}

/* Detaljer kolumn */
.tdm-style-dark .tdm-concert-details {
    flex: 1;
}

.tdm-style-dark .tdm-concert-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e8ecf5;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tdm-style-dark .tdm-location-name {
    font-size: 1.25rem;
    color: #e8edf5;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tdm-style-dark .tdm-concert-time {
    font-size: 1rem;
    color: #a8b3cf;
    margin-top: 0.5rem;
}

.tdm-style-dark .tdm-concert-info {
    font-size: 0.95rem;
    color: #b8c3df;
    margin-top: 0.6rem;
    line-height: 1.5;
    font-style: italic;
}

.tdm-style-dark .tdm-info-icon {
    display: inline-block;
    margin-right: 5px;
    opacity: 0.7;
}

.tdm-style-dark .tdm-concert-status {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Passerade datum - minskad opacitet */
.tdm-style-dark .tdm-past-concert {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.tdm-style-dark .tdm-past-concert:hover {
    opacity: 0.7;
}

.tdm-style-dark .tdm-status-few_tickets {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.tdm-style-dark .tdm-status-sold_out {
    background-color: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.tdm-style-dark .tdm-status-cancelled {
    background-color: rgba(158, 158, 158, 0.15);
    color: #9e9e9e;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.tdm-style-dark .tdm-status-upcoming {
    background-color: rgba(33, 150, 243, 0.15);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* Biljettknapp */
.tdm-style-dark .tdm-concert-action {
    flex-shrink: 0;
}

.tdm-style-dark .tdm-ticket-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tdm-style-dark .tdm-ticket-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Responsiv design */
@media (max-width: 768px) {
    .tdm-style-dark {
        padding: 2rem 1rem;
    }
    
    .tdm-style-dark .tdm-concert-item {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .tdm-style-dark .tdm-concert-date {
        min-width: 80px;
    }
    
    .tdm-style-dark .tdm-date-day {
        font-size: 3rem;
    }
    
    .tdm-style-dark .tdm-concert-action {
        width: 100%;
        margin-top: 1rem;
    }
    
    .tdm-style-dark .tdm-ticket-button {
        display: block;
        text-align: center;
        width: 100%;
    }
}

/* ==========================================================================
   Light Style
   ========================================================================== */

.tdm-style-light {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tdm-style-light .tdm-dates-list {
    max-width: 900px;
    margin: 0 auto;
}

.tdm-style-light .tdm-concert-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.tdm-style-light .tdm-concert-item:last-child {
    border-bottom: none;
}

.tdm-style-light .tdm-concert-date {
    flex-shrink: 0;
    text-align: center;
    min-width: 90px;
}

.tdm-style-light .tdm-date-day {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    color: #333333;
}

.tdm-style-light .tdm-date-month {
    font-size: 0.95rem;
    color: #666666;
    text-transform: capitalize;
    margin-top: 0.25rem;
}

.tdm-style-light .tdm-concert-details {
    flex: 1;
}

.tdm-style-light .tdm-concert-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tdm-style-light .tdm-location-name {
    font-size: 1.2rem;
    color: #222222;
    font-weight: 500;
}

.tdm-style-light .tdm-concert-time {
    font-size: 0.95rem;
    color: #666666;
    margin-top: 0.4rem;
}

.tdm-style-light .tdm-concert-status {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.35rem 0.9rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tdm-style-light .tdm-status-few_tickets {
    background-color: #fff3cd;
    color: #856404;
}

.tdm-style-light .tdm-status-sold_out {
    background-color: #f8d7da;
    color: #721c24;
}

.tdm-style-light .tdm-status-cancelled {
    background-color: #e2e3e5;
    color: #383d41;
}

.tdm-style-light .tdm-status-upcoming {
    background-color: #d1ecf1;
    color: #0c5460;
}

.tdm-style-light .tdm-ticket-button {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.tdm-style-light .tdm-ticket-button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .tdm-style-light .tdm-concert-item {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .tdm-style-light .tdm-concert-action {
        width: 100%;
        margin-top: 1rem;
    }
    
    .tdm-style-light .tdm-ticket-button {
        display: block;
        text-align: center;
        width: 100%;
    }
}

/* ==========================================================================
   Minimal Style
   ========================================================================== */

.tdm-style-minimal {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tdm-style-minimal .tdm-concert-title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.tdm-style-minimal .tdm-dates-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tdm-style-minimal .tdm-concert-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    align-items: baseline;
}

.tdm-style-minimal .tdm-concert-item:last-child {
    border-bottom: none;
}

.tdm-style-minimal .tdm-date {
    font-weight: 600;
    min-width: 140px;
    color: #333;
}

.tdm-style-minimal .tdm-location {
    flex: 1;
    color: #555;
}

.tdm-style-minimal .tdm-status {
    font-size: 0.85rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
}

.tdm-style-minimal .few-tickets .tdm-status {
    background-color: #fff3cd;
    color: #856404;
}

.tdm-style-minimal .sold-out .tdm-status {
    background-color: #f8d7da;
    color: #721c24;
}

.tdm-style-minimal .cancelled .tdm-status {
    background-color: #e2e3e5;
    color: #383d41;
}

.tdm-style-minimal .upcoming .tdm-status {
    background-color: #d1ecf1;
    color: #0c5460;
}

.tdm-style-minimal .tdm-ticket-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.tdm-style-minimal .tdm-ticket-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .tdm-style-minimal .tdm-concert-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tdm-style-minimal .tdm-date {
        min-width: auto;
    }
}

/* ==========================================================================
   Gemensamma stilar
   ========================================================================== */

.tdm-no-concerts {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    font-size: 1.1rem;
}

/* Custom style - bara minimala grundstilar */
.tdm-style-custom .tdm-dates-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tdm-style-custom .tdm-concert-item {
    margin-bottom: 1rem;
}
