.store-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.store-header {
    text-align: center;
    padding: 1rem 0 2rem;
}

.store-address {
    margin-top: 0.5rem;
}

.events-section {
    padding: 0;
}

.events-section h5 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.form-section {
    padding: 2rem 0;
    margin: 0 auto;
}

.form-section h5 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 1rem;
    text-align: center;
}

.begleitung {
    display: inline;
    width: 100%;
    max-width: 400px;
}

/* Success Modal Styling */
.success-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.success-icon {
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.success-icon i {
    font-size: 5rem;
    color: #009a3d;
}

.success-title {
    color: #009a3d;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.success-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.6s ease-out 0.4s both;
}

/* Notice Modal Styling (Orange) */
.notice-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.notice-icon {
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.notice-icon i {
    font-size: 5rem;
    color: #ff8c00;
}

.notice-title {
    color: #ff8c00;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.notice-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.6s ease-out 0.4s both;
}

/* Error Modal Styling (Red) */
.error-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.error-icon {
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.error-icon i {
    font-size: 5rem;
    color: #d13438;
}

.error-title {
    color: #d13438;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.error-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.6s ease-out 0.4s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fluent Dialog Styling */
#cancelDialog::part(control) {
    max-width: 500px;
    width: 90%;
    padding: 0;
    border-radius: 8px;
}

#cancelDialog .notice-modal-content {
    padding: 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .store-page {
        padding: 0 0.5rem;
    }

    .store-header {
        padding: 0.5rem 0 1.5rem;
    }

    .events-section,
    .form-section {
        padding: 0;
    }

    .eventSelect,
    .form {        padding: 0 0.5rem;
    }

    .success-title,
    .notice-title,
    .error-title {
        font-size: 1.5rem;
    }

    .success-message,
    .notice-message,
    .error-message {
        font-size: 0.95rem;
    }

    #cancelDialog::part(control) {
        width: 95%;
        max-width: none;
    }
}
