/* ── Validation ─────────────────────────────────────────────────────────── */
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

/* ── Forms Home ─────────────────────────────────────────────────────────── */
.form-card {
    border-radius: .75rem !important;
    border-left-width: 5px !important;
    border-left-style: solid !important;
    transition: transform .18s ease, box-shadow .18s ease;
}
.form-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .75rem 1.75rem rgba(0,0,0,.13) !important;
}
/* Accent palette — εναλλάσσεται ανά κάρτα */
.fc-c1 { border-left-color: #0d6efd !important; }  /* blue */
.fc-c2 { border-left-color: #0891b2 !important; }  /* cyan-700 */
.fc-c3 { border-left-color: #6f42c1 !important; }  /* purple */
.fc-c4 { border-left-color: #198754 !important; }  /* green */
.fc-c5 { border-left-color: #e05d0e !important; }  /* orange */

/* ── Drop Zone ───────────────────────────────────────────────────────────── */
.drop-zone {
    border: 2px dashed #dee2e6;
    border-radius: .5rem;
    padding: 1.75rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
    -webkit-user-select: none;
    user-select: none;
}
.drop-zone:hover,
.drop-zone.dz-over {
    border-color: #0d6efd;
    background-color: #f0f5ff;
}
.drop-zone.dz-has-error {
    border-color: #dc3545;
}
.dz-file-list {
    list-style: none;
    padding: 0;
    margin: .5rem 0 0;
}
.dz-file-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .6rem;
    background: #f8f9fa;
    border-radius: .375rem;
    margin-bottom: .25rem;
    font-size: .875rem;
}
.dz-file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.dz-file-size {
    color: #6c757d;
    font-size: .75rem;
    flex-shrink: 0;
    white-space: nowrap;
}
.dz-file-badge {
    font-size: .6rem;
    font-weight: 700;
    color: #fff;
    border-radius: .2rem;
    padding: .1rem .3rem;
    flex-shrink: 0;
    letter-spacing: .02em;
}
.dz-file-remove {
    border: none;
    background: none;
    color: #adb5bd;
    cursor: pointer;
    padding: 0 .15rem;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color .1s;
}
.dz-file-remove:hover { color: #dc3545; }

/* ── Form Engine ─────────────────────────────────────────────────────────── */
.recipient-badge {
    font-weight: 600;
}
.help-hint {
    font-size: .9rem;
    color: #6c757d;
}
.sticky-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: .75rem 1rem;
    border-top: 1px solid #e9ecef;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    z-index: 10;
}
