/* CONTAINER GENERAL FORMULAR */
.fc-form-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    font-family: inherit;
}

/* BARA DE PROGRES ȘI PAȘI */
.fc-progress-bar-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.fc-progress-steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.fc-step-indicator {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.fc-step-indicator span {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 33px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #ffffff;
    margin: 0 auto 10px auto;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.fc-step-indicator.active {
    color: #1e293b;
}

.fc-step-indicator.active span {
    border-color: #2271b1;
    background: #2271b1;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.15);
}

.fc-progress-line {
    position: absolute;
    top: 17px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.fc-progress-line-fill {
    height: 100%;
    background: #2271b1;
    width: 0%;
    transition: width 0.3s ease;
}

/* STRUCTURĂ ETAPE FORMULAR */
.fc-form-step {
    display: none;
}

.fc-form-step.active {
    display: block;
    animation: fcFadeIn 0.4s ease forwards;
}

@keyframes fcFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.fc-step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1e293b;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}
/* ELEMENTE DE FORMULAR ȘI ALINIERI */
.fc-field-group {
    margin-bottom: 22px;
}

.fc-field-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
    font-size: 15px;
}

.fc-form-container select,
.fc-form-container input[type="text"],
.fc-form-container input[type="email"],
.fc-form-container input[type="tel"],
.fc-form-container textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 15px;
    color: #1e293b;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fc-form-container select:focus,
.fc-form-container input:focus,
.fc-form-container textarea:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.12);
}

/* STRUCTURĂ CHECKBOX-URI PENTRU SERVICII */
.fc-services-checkbox-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.fc-checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-checkbox-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.fc-checkbox-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.fc-checkbox-item label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

/* NAVIGARE ȘI BUTOANE */
.fc-form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.fc-form-navigation button {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-btn-next, .fc-btn-submit {
    background: #2271b1;
    color: #ffffff;
    border: 1px solid #2271b1;
    margin-left: auto; /* Împinge butonul în dreapta dacă e singur */
}

.fc-btn-next:hover, .fc-btn-submit:hover {
    background: #135e96;
    border-color: #135e96;
}

.fc-btn-next:disabled {
    background: #cbd5e1;
    border-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
}

.fc-btn-prev {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.fc-btn-prev:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #bfdbfe;
}

/* EMITERE STĂRI: ERORI ȘI TEXTE AJUTĂTOARE */
.fc-has-error {
    border-color: #dc3232 !important;
    background-color: #fff5f5 !important;
}

.fc-field-desc {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.fc-loading {
    color: #64748b;
    font-style: italic;
    padding: 10px 0;
}

.fc-gdpr-group {
    display: flex;
    align-items: flex-start;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    padding: 15px;
    border-radius: 6px;
}

.fc-gdpr-group input {
    margin-top: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.fc-gdpr-group label {
    font-size: 13px;
    line-height: 1.5;
    color: #78350f;
    font-weight: 500;
}
