.event-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
}

/* Sol taraf - Etkinlik detayları */
.event-details-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.event-location, .event-datetime {
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-location .dashicons,
.event-datetime .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #666;
}

.event-datetime .dashicons-clock {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #666;
    margin-left: 8px;
    margin-right: 4px;
}

/* Sağ taraf - Fiyat ve buton */
.event-details-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
}

.price-container {
    text-align: right;
}

.event-price {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}

.starting-price {
    font-size: 13px;
    color: #666;
}

.reminder-button {
    background: #a51d43;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.reminder-button:hover {
    background: #8a1836;
    transform: translateY(-1px);
}

.reminder-button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Mobil düzen */
@media (max-width: 768px) {
    .event-box {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .event-info {
        flex-direction: column;
        gap: 12px;
    }

    .event-details-right {
        align-items: flex-start;
    }

    .price-container {
        text-align: left;
    }

    .reminder-button {
        width: 100%;
        justify-content: center;
    }
}

/* Popup Tasarımı */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999999;
}

.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.popup-content h3 {
    margin: 0 0 25px 0;
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 600;
    padding-right: 30px;
}

.popup-content .form-row {
    margin-bottom: 20px;
}

.popup-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a1a1a;
}

.popup-content input[type="text"],
.popup-content input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s;
}

.popup-content input[type="text"]:focus,
.popup-content input[type="email"]:focus {
    border-color: #40c057;
    box-shadow: 0 0 0 2px rgba(64, 192, 87, 0.2);
    outline: none;
}

.popup-content .checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 25px;
}

.popup-content input[type="checkbox"] {
    margin-top: 3px;
}

.popup-content .checkbox-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.event-popup-buttons {
    text-align: right;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.event-popup-buttons .button-primary {
    background: #40c057;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.event-popup-buttons .button-primary:hover {
    background: #37a84d;
    transform: translateY(-1px);
}

.event-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.event-popup-close:hover {
    color: #1a1a1a;
    transform: rotate(90deg);
}

/* List görünümü */
.event-box-list {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
}

/* Grid Container */
.event-boxes-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
    width: calc(100% + 20px);
}

/* Grid Box */
.event-box-grid {
    flex: 0 0 calc(33.33% - 20px);
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 10px;
    display: flex;
    flex-direction: column;
}

/* Grid içerik düzeni */
.event-box-grid .event-details-left {
    flex: 1;
}

.event-box-grid .event-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.event-box-grid .event-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-box-grid .event-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
}

.event-box-grid .event-datetime-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
}

.event-box-grid .datetime-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-box-grid .event-date,
.event-box-grid .event-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.event-box-grid .price-container {
    text-align: right;
}

.event-box-grid .event-details-right {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.event-box-grid .reminder-button {
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .event-box-grid {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .event-boxes-wrapper {
        margin: 0;
        width: 100%;
    }
    
    .event-box-grid {
        flex: 0 0 100%;
        margin: 0 0 20px 0;
    }
}

/* Popup içindeki not stili */
.reminder-note {
    background: #f0f6fc;
    border-left: 4px solid #72aee6;
    padding: 12px 15px;
    margin: -10px 0 20px 0;
    font-size: 13px;
    color: #1e1e1e;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.reminder-note .dashicons {
    color: #72aee6;
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-top: 1px;
} 