/* Bandsintown Importer Frontend Styles */

/* Base Styles - Common to all layouts and styles */
.bit-tourdates {
    width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.bit-tourdates-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.bit-event {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bit-event-content {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bit-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.bit-event-details {
    flex: 1;
    min-width: 0;
}

.bit-event-location {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bit-event-action {
    flex-shrink: 0;
}

.bit-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.bit-no-events {
    text-align: center;
    padding: 40px 20px;
    opacity: 0.6;
}

/* ===================================
   LAYOUT STYLES
   =================================== */

/* Single Column Layout */
.bit-layout-single .bit-tourdates-grid {
    grid-template-columns: 1fr;
}

/* Double Column Layout */
.bit-layout-double .bit-tourdates-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .bit-layout-double .bit-tourdates-grid {
        grid-template-columns: 1fr;
    }
}

/* Triple Column Layout */
.bit-layout-triple .bit-tourdates-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .bit-layout-triple .bit-tourdates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bit-layout-triple .bit-tourdates-grid {
        grid-template-columns: 1fr;
    }
}

/* Quad Column Layout */
.bit-layout-quad .bit-tourdates-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .bit-layout-quad .bit-tourdates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .bit-layout-quad .bit-tourdates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bit-layout-quad .bit-tourdates-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   STYLE VARIATIONS
   =================================== */

/* CLASSIC STYLE */
.bit-style-classic .bit-event {
    background: #ffffff;
    border: 2px solid #333;
    padding: 20px;
}

.bit-style-classic .bit-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bit-style-classic .bit-event-date {
    background: #333;
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    width: 80px;
}

.bit-style-classic .bit-day {
    font-size: 28px;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.bit-style-classic .bit-month {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.bit-style-classic .bit-year {
    font-size: 12px;
    display: block;
    margin-top: 3px;
    opacity: 0.8;
}

.bit-style-classic .bit-venue {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: block;
}

.bit-style-classic .bit-city {
    font-size: 14px;
    color: #666;
    display: block;
}

.bit-style-classic .bit-button {
    background: #333;
    color: #fff;
    border: 2px solid #333;
}

.bit-style-classic .bit-button:hover {
    background: #fff;
    color: #333;
}

/* MODERN STYLE */
.bit-style-modern .bit-event {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.bit-style-modern .bit-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.bit-style-modern .bit-event-date {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 10px;
    width: 80px;
}

.bit-style-modern .bit-day {
    font-size: 32px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.bit-style-modern .bit-month {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-top: 5px;
    opacity: 0.9;
}

.bit-style-modern .bit-year {
    font-size: 12px;
    display: block;
    margin-top: 3px;
    opacity: 0.7;
}

.bit-style-modern .bit-venue {
    font-size: 18px;
    font-weight: 700;
    display: block;
}

.bit-style-modern .bit-city {
    font-size: 14px;
    display: block;
    opacity: 0.9;
}

.bit-style-modern .bit-button {
    background: #fff;
    color: #667eea;
    font-weight: 700;
}

.bit-style-modern .bit-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* MINIMAL STYLE */
.bit-style-minimal .bit-event {
    background: transparent;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.bit-style-minimal .bit-event:last-child {
    border-bottom: none;
}

.bit-style-minimal .bit-event:hover {
    background: #fafafa;
}

.bit-style-minimal .bit-event-date {
    width: auto;
    min-width: 100px;
}

.bit-style-minimal .bit-day {
    font-size: 36px;
    font-weight: 300;
    display: inline;
    color: #333;
}

.bit-style-minimal .bit-month {
    font-size: 16px;
    font-weight: 400;
    display: inline;
    margin-left: 8px;
    color: #666;
}

.bit-style-minimal .bit-year {
    font-size: 14px;
    display: block;
    color: #999;
    margin-top: 5px;
}

.bit-style-minimal .bit-venue {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
}

.bit-style-minimal .bit-city {
    font-size: 14px;
    color: #666;
    display: block;
    margin-top: 3px;
}

.bit-style-minimal .bit-button {
    background: transparent;
    color: #333;
    border: 1px solid #333;
    padding: 8px 16px;
    font-size: 14px;
}

.bit-style-minimal .bit-button:hover {
    background: #333;
    color: #fff;
}

/* CARD STYLE */
.bit-style-card .bit-event {
    background: #fff;
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.bit-style-card .bit-event:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.bit-style-card .bit-event-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.bit-style-card .bit-event-date {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    padding: 25px;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.bit-style-card .bit-day {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.bit-style-card .bit-month {
    font-size: 18px;
    font-weight: 600;
    align-self: center;
}

.bit-style-card .bit-year {
    font-size: 14px;
    align-self: flex-end;
    opacity: 0.9;
}

.bit-style-card .bit-event-details {
    padding: 20px;
    text-align: center;
}

.bit-style-card .bit-venue {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.bit-style-card .bit-city {
    font-size: 14px;
    color: #666;
    display: block;
}

.bit-style-card .bit-event-action {
    padding: 0 20px 20px;
    width: 100%;
}

.bit-style-card .bit-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    width: 100%;
    padding: 12px;
}

.bit-style-card .bit-button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

/* COMPACT STYLE */
.bit-style-compact .bit-tourdates-grid {
    gap: 10px;
}

.bit-style-compact .bit-event {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 12px 15px;
    border-radius: 4px;
}

.bit-style-compact .bit-event:hover {
    background: #e9ecef;
    border-left-color: #0056b3;
}

.bit-style-compact .bit-event-content {
    gap: 12px;
}

.bit-style-compact .bit-event-date {
    background: #007bff;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    width: auto;
    min-width: 60px;
}

.bit-style-compact .bit-day {
    font-size: 20px;
    font-weight: 700;
    display: inline;
}

.bit-style-compact .bit-month {
    font-size: 12px;
    font-weight: 600;
    display: inline;
    margin-left: 5px;
}

.bit-style-compact .bit-year {
    display: none;
}

.bit-style-compact .bit-venue {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: inline;
}

.bit-style-compact .bit-city {
    font-size: 14px;
    color: #666;
    display: inline;
}

.bit-style-compact .bit-city::before {
    content: " • ";
    margin: 0 5px;
}

.bit-style-compact .bit-button {
    background: #007bff;
    color: #fff;
    padding: 6px 14px;
    font-size: 13px;
}

.bit-style-compact .bit-button:hover {
    background: #0056b3;
}

/* ELEGANT STYLE */
.bit-style-elegant .bit-event {
    background: #fff;
    border: 1px solid #d4af37;
    padding: 30px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.bit-style-elegant .bit-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #f4e5b1 50%, #d4af37 100%);
}

.bit-style-elegant .bit-event:hover {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    border-color: #b8941e;
}

.bit-style-elegant .bit-event-date {
    border: 2px solid #d4af37;
    padding: 15px;
    width: 90px;
    background: #fff;
}

.bit-style-elegant .bit-day {
    font-size: 32px;
    font-weight: 300;
    display: block;
    color: #d4af37;
    font-family: Georgia, serif;
}

.bit-style-elegant .bit-month {
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-top: 5px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bit-style-elegant .bit-year {
    font-size: 11px;
    display: block;
    margin-top: 5px;
    color: #666;
    letter-spacing: 1px;
}

.bit-style-elegant .bit-venue {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    display: block;
    font-family: Georgia, serif;
    margin-bottom: 5px;
}

.bit-style-elegant .bit-city {
    font-size: 14px;
    color: #666;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.bit-style-elegant .bit-button {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    padding: 10px 24px;
}

.bit-style-elegant .bit-button:hover {
    background: #d4af37;
    color: #fff;
}

/* Mobile Adjustments for Multi-Column Layouts */
@media (max-width: 768px) {
    .bit-event-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .bit-event-date {
        width: 100% !important;
        min-width: auto !important;
    }

    .bit-event-action {
        width: 100%;
    }

    .bit-button {
        width: 100%;
    }

    .bit-style-card .bit-event-content {
        flex-direction: column;
    }
}
