.wcis-apf-form-shell {
    max-width: 980px;
    margin: 24px auto;
    padding: 24px;
    border: 1px solid #dcdcde;
    background: #fff;
    border-radius: 8px;
    box-sizing: border-box;
}

.wcis-apf-form-shell h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.wcis-apf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.wcis-apf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcis-apf-field-full {
    grid-column: 1 / -1;
}

.wcis-apf-field label {
    font-weight: 600;
}

.wcis-apf-field input,
.wcis-apf-field textarea,
.wcis-apf-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #8c8f94;
    border-radius: 6px;
    box-sizing: border-box;
}

.wcis-apf-actions button {
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    background: #2271b1;
    color: #fff;
    cursor: pointer;
}

.wcis-apf-alert {
    padding: 12px 14px;
    border-radius: 6px;
    margin-top: 16px;
    margin-bottom: 0;
}

.wcis-apf-alert ul {
    margin: 0;
    padding-left: 18px;
}

.wcis-apf-alert-success {
    background: #edf7ed;
    color: #1e4620;
    border: 1px solid #b7d8b9;
}

.wcis-apf-alert-error {
    background: #fcf0f1;
    color: #7a1020;
    border: 1px solid #e4b9be;
}

@media (max-width: 782px) {
    .wcis-apf-form-grid {
        grid-template-columns: 1fr;
    }
}


.wcis-apf-actions {
    margin-top: 16px;
}

.wcis-apf-secondary-button {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid #2271b1;
    border-radius: 6px;
    background: #fff;
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}

.wcis-apf-secondary-button:hover {
    background: #f0f6fc;
    color: #135e96;
}
