/*.epc-btn {
    display:none
    width: 100px;
    height: 60px;
    border-radius: 30px;
    background: linear-gradient(135deg, #005670, #007c9e);
    border: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.epc-btn:hover {
    background: linear-gradient(135deg, #007c9e, #009bc7);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}
.epc-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}*/

/* focus champ */
.form-control,
.form-select {
  border: 1px solid var(--border);
  box-shadow: none;
  transition: all 0.2s ease-in-out;
  border-radius: 0.75rem;
  background-color: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(14, 165, 164, 0.25);
}

/* legend title */
legend.text-primary {
  font-weight: 600;
}

legend.text-secondary {
  color: #4974ec  !important; /* Bootstrap’s gray */
  font-weight: 500;
}

/* buttons */
.custom-btn,
.custom-btn:focus,
.custom-btn:active {
    background-color: #f8f9fa; /* Light gray background (Bootstrap's btn-light default) */
    border-color: #dee2e6; /* Subtle border */
    box-shadow: none; /* Remove any shadow */
    outline: none; /* Remove default focus outline */
}

.custom-btn:hover {
    background-color: #e9ecef; /* Slightly darker on hover for feedback */
    border-color: #ced4da;
}

input#id_creditor_iban::placeholder, input#id_creditor_bic::placeholder {
    color: #ff6200 !important;
}


.comm-btn {
    margin-right: 8px;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.2s ease;
}
#comm-free {
    background-color: #e7f3fe;
    border: 1px solid #007bff;
    color: #007bff;
}
#comm-free:hover {
    background-color: #007bff;
    color: white;
}
#comm-european {
    background-color: #e6fffa;
    border: 1px solid #00c4b4;
    color: #00c4b4;
}
#comm-european:hover {
    background-color: #00c4b4;
    color: white;
}
#comm-belgian {
    background-color: #fef7e0;
    border: 1px solid #ffab00;
    color: #ffab00;
}
#comm-belgian:hover {
    background-color: #ffab00;
    color: white;
}
#comm-swiss {
    background-color: #ffe6e6;
    border: 1px solid #dc3545;
    color: #dc3545;
}
#comm-swiss:hover {
    background-color: #dc3545;
    color: white;
}
#comm-norwegian {
    background-color: #e6f3ff;
    border: 1px solid #0052cc;
    color: #0052cc;
}
#comm-norwegian:hover {
    background-color: #0052cc;
    color: white;
}
#comm-finnish {
    background-color: #e6ffe6;
    border: 1px solid #28a745;
    color: #28a745;
}
#comm-finnish:hover {
    background-color: #28a745;
    color: white;
}
#comm-swedish {
    background-color: #fff5e6;
    border: 1px solid #ff6f00;
    color: #ff6f00;
}
#comm-swedish:hover {
    background-color: #ff6f00;
    color: white;
}
#comm-lei {
    background-color: #f5e6ff;
    border: 1px solid #6f42c1;
    color: #6f42c1;
}
#comm-lei:hover {
    background-color: #6f42c1;
    color: white;
}
.comm-btn.active {
    font-weight: bold;
}

/* Collapse animation */
fieldset .collapse {
  transition: all 0.3s ease;
}