body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #f7f3ff 0%, #fff7fb 45%, #f8f4f8 100%);
    color: #333;
}
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

.page-header {
    text-align: center;
    margin-bottom: 24px;
}

.subtitle {
    color: #666;
    margin-top: 8px;
}

.form-section,
.events-section,
.details-card {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.event-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-form input,
.event-form textarea {
    padding: 12px;
    border: 1px solid #e3d7e6;
    border-radius: 12px;
    font-size: 14px;
    background-color: rgba(255,255,255,0.9);
}

.event-form input:focus,
.event-form textarea:focus {
    outline: none;
    border-color: #c88cff;
    box-shadow: 0 0 0 3px rgba(200, 140, 255, 0.15);
}

.primary-btn,
.secondary-btn,
.small-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
}

.primary-btn {
    background: linear-gradient(90deg, #ff7bd5, #8f5bff);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 14px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-btn:hover {
    opacity: 0.9;
}

.secondary-btn {
    background-color: #eee;
    color: #333;
}

.small-btn {
    background-color: #f0d9ec;
    color: #333;
}

.delete-btn {
    background-color: #d9534f;
    color: white;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-card {
    background: linear-gradient(180deg, #fffafc 0%, #ffffff 100%);
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 16px;
    border: 1px solid #f1e6f1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.event-card h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 8px;
}

.event-date {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.event-description {
    margin-bottom: 14px;
}

.error-text {
    color: red;
    font-size: 14px;
}

.hero-card {
    background: linear-gradient(135deg, #dff3ff, #f7ddff, #fff0d8);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    text-align: left;
}

.hero-label {
    display: inline-block;
    background-color: rgba(255,255,255,0.7);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 10px;
}

.hero-card h2 {
    margin: 0 0 10px 0;
    font-size: 32px;
}

.hero-card p {
    margin: 0;
}

.selected-event-card h2 {
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 30px;
}

.selected-event-card {
    background: linear-gradient(180deg, #ffffff, #fff5fb);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.top-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    background-color: #f2e7f6;
    color: #4b3f4b;
    cursor: pointer;
    font-size: 14px;
}

.active-tab {
    background: linear-gradient(90deg, #ff7bd5, #8f5bff);
    color: white;
}
