/* VWA Editor CSS */
/* Alle Styles für das VWA Editor Plugin */

.vwa-form {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.vwa-form h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #1d1d1b;
}

.vwa-form h4 {
    font-size: 18px;
    margin: 32px 0 16px;
    color: #1d1d1b;
}

.vwa-form-field {
    margin-bottom: 24px;
}

.vwa-form-field__label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1b;
}

.vwa-form-field__required {
    color: #e4003a;
    margin-left: 4px;
}

.vwa-form-field__input {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 1.5;
    color: #1d1d1b;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.vwa-form-field__input:focus {
    border-color: #0066cc;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.25);
}

select.vwa-form-field__input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

textarea.vwa-form-field__input {
    min-height: 120px;
    resize: vertical;
}

.vwa-form-footer {
    margin-top: 32px;
}

.button-atom {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    border: none;
}

.button-atom--primary {
    color: #fff;
    background-color: #0066cc;
}

.button-atom--primary:hover {
    background-color: #0052a3;
}

.button-atom--secondary {
    color: #0066cc;
    background-color: #fff;
    border: 1px solid #0066cc;
}

.button-atom--secondary:hover {
    color: #fff;
    background-color: #0066cc;
}

.vwa-form-checkbox {
    margin-top: 24px;
}

.vwa-form-checkbox input[type="checkbox"] {
    margin-right: 8px;
}

.vwa-form-checkbox__text {
    font-size: 14px;
    line-height: 1.5;
    color: #1d1d1b;
}

.vwa-form-checkbox__text a {
    color: #0066cc;
    text-decoration: underline;
}

.vwa-form-checkbox__text a:hover {
    color: #0052a3;
}

hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid #d9d9d9;
}

.vwa-input-disabled,
.vwa-form-field__input[disabled],
.vwa-form-field__input[readonly] {
    background: #f0f0f0 !important;
    color: #888 !important;
    cursor: not-allowed !important;
    border-color: #e0e0e0 !important;
    opacity: 1 !important;
}

/* Repeater Styles */
.vwa-form-repeater {
    margin-bottom: 1rem;
}

.vwa-form-repeater__item {
    background: #f8f8f8;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.vwa-form-repeater__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.vwa-form-repeater__header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.vwa-form-repeater__fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.vwa-form-repeater__add {
    margin-top: 1rem;
}

.vwa-form-container {
    background: #f8f8f8;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.vwa-form-container h3 {
    margin: 0 0 1rem 0;
    font-size: 18px;
    font-weight: 500;
}

.vwa-form-container__fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
} 





.vwa-bulk-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button-atom--danger {
    background-color: #dc3545 !important;
    color: white !important;
    border: 1px solid #dc3545 !important;
    padding: 10px 20px !important;
}

.button-atom--danger:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
}

.vwa-event-table th:first-child,
.vwa-event-table td:first-child {
    width: 40px;
    text-align: center;
}

#vwa-select-all:indeterminate {
    opacity: 0.5;
}

#vwa-selected-count {
    font-size: 14px;
    font-weight: 500;
}