/* =====================================
   Formular BUYBACK si FINANTARE
===================================== */

.auto-form-wrapper {
    padding: 90px 40px;
}

/* HEADER */
.auto-form-wrapper .af-header {
    text-align: center;
    margin-bottom: 50px;
}

.auto-form-wrapper .af-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.auto-form-wrapper .af-header p {
    font-size: 16px;
    color: #666;
}

/* GRID */
.auto-form-wrapper .af-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

/* SECTION TITLE */
.auto-form-wrapper .af-section-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 18px;
    background: #011759;
    color: #ffffff;
    text-align: center;
    padding: 8px;
}

/* GROUP */
.auto-form-wrapper .af-group {
    margin-bottom: 16px;
}

/* INPUTS */
.auto-form-wrapper input,
.auto-form-wrapper select,
.auto-form-wrapper textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
}

.auto-form-wrapper input:focus,
.auto-form-wrapper select:focus,
.auto-form-wrapper textarea:focus {
    outline: none;
    border-color: #ff6600;
}

.auto-form-wrapper textarea {
    resize: vertical;
}

/* PLACEHOLDER */
.auto-form-wrapper input::placeholder,
.auto-form-wrapper textarea::placeholder {
    color: #999;
    font-size: 12px;
}

.auto-form-wrapper input:focus::placeholder,
.auto-form-wrapper textarea:focus::placeholder {
    opacity: 0.5;
}

/* BENEFITS CARD */
.auto-form-wrapper .af-benefits {
    background: #011759;
    color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.auto-form-wrapper .af-benefits h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.auto-form-wrapper .af-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auto-form-wrapper .af-benefits li {
    margin-bottom: 10px;
    font-size: 13px;
}

.auto-form-wrapper .af-benefits small {
    display: block;
    margin-top: 15px;
    font-size: 11px;
    opacity: .75;
}

/* GDPR */
.auto-form-wrapper .af-gdpr {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 15px;
}

.auto-form-wrapper .af-gdpr input {
    width: auto;
    margin-top: 3px;
}

.auto-form-wrapper .af-gdpr label {
    font-weight: 400;
    font-size: 12px;
    margin: 0;
}

/* BUTTON */
.auto-form-wrapper .af-btn {
    margin-top: 20px;
    padding: 9px 22px;
    border: none;
    background: #bf0404;
    color: #fff;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
}

.auto-form-wrapper .af-btn:hover {
    background: #9e0303;
}

/* SUCCESS */
.auto-form-wrapper .af-alert-success {
    color: #1a6f3c;
    padding: 15px;
    margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .auto-form-wrapper {
        padding: 60px 20px;
    }

    .auto-form-wrapper .af-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================= */
/* PAYMENT SECTION FINANTARE */
/* ============================= */

.af-payment-section {
    margin-top: 60px;
}

.af-section-title.center {
    text-align: center;
    margin-bottom: 30px;
}

.af-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.af-payment-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.af-payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: #bf0404;
}

.af-payment-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.af-payment-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #011759;
}

.af-payment-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.af-alert-success {
    color: #1e8e3e;
    padding: 15px;
    margin-bottom: 30px;

}

.af-alert-error {
    color: #b71c1c;
    padding: 15px;
    margin-bottom: 30px;
}

/* ============================= */
/* CONTACT LEGAL PREMIUM */
/* ============================= */

.contact-legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    margin-bottom: 25px;
    font-size: 20px;
    color: #011759;
}

.contact-item {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.contact-item strong {
    margin-bottom: 6px;
    color: #011759;
    font-weight: 600;
}

.contact-item a {
    color: #bf0404;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* FORMULAR MODERN */

.contact-form-modern {
    margin-top: 10px;
}

.cf-group {
    margin-bottom: 20px;
}

.contact-form-modern input,
.contact-form-modern textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    font-family: 'Alexandria', sans-serif;
    font-size: 14px;
    transition: 0.3s ease;
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
    outline: none;
    border-color: #bf0404;
    box-shadow: 0 0 0 3px rgba(191,4,4,0.08);
}

.contact-form-modern textarea {
    min-height: 140px;
    resize: vertical;
}

.cf-gdpr {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 25px;
}

.cf-gdpr input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cf-gdpr label {
    line-height: 1.5;
    cursor: pointer;
}

.cf-btn {
    background: #011759;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.cf-btn:hover {
    background: #bf0404;
}

.legal-map {
    margin-top: 60px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .contact-legal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}