/**
 * Lippu.fi Events
 * Version: 1.0.0
 */

/* Container */
.lippu-events-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* No events message */
.lippu-no-events {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Notice boxes */
.lippu-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.lippu-notice p {
    margin: 0;
}

.lippu-notice-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.lippu-notice-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

/* Event item card */
.lippu-event-item {
    background: #000;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    overflow: hidden;
}

/* Date section */
.lippu-event-date {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 150px;
}

.lippu-event-date-day {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #ec620a;
}

.lippu-event-date-month {
    font-size: 14px;
    margin-top: 5px;
    text-transform: lowercase;
}

.lippu-event-date-time {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

/* Event details section */
.lippu-event-details {
    flex: 1;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lippu-event-info {
    flex: 1;
    text-align: left;
}

.lippu-event-title {
    font-size: 1.3rem!important;
    color: #ec620a;
    margin-bottom: 8px;
    margin-top: 0;
}

.lippu-event-location {
    font-size: 14px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lippu-event-venue {
    font-size: 14px;
}

/* Buy section */
.lippu-event-buy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-left: 30px;
}

.lippu-event-price {
    font-size: 16px;
    color: #ec620a;
    font-weight: 600;
    margin-bottom: 12px;
}

.lippu-btn-buy {
    background: #ec620a;
    color: white !important;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

.lippu-btn-buy:hover {
    background: #ce5409;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .lippu-event-item {
        flex-direction: column;
    }

    .lippu-event-date {
        flex-direction: row;
        justify-content: space-between;
        min-width: auto;
        width: 100%;
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid #111;
    }

    .lippu-event-date-day {
        font-size: 36px;
    }

    .lippu-event-date-month {
        font-size: 14px;
        margin-top: 0;
    }

    .lippu-event-date-time {
      margin-top: 0;
    }

    .lippu-event-details {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .lippu-event-buy {
        margin-left: 0;
        margin-top: 20px;
        align-items: stretch;
    }

    .lippu-btn-buy {
        width: 100%;
        text-align: center;
    }
}