/* Amelia CNP Validator — Shortcode Programări */

.acv-lookup-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Formular */
.acv-lookup-form {
    margin-bottom: 20px;
}

.acv-lookup-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.acv-lookup-input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.acv-lookup-input {
    flex: 1;
    padding: 10px 14px;
    font-size: 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    letter-spacing: 1px;
}

.acv-lookup-input:focus {
    border-color: #0073aa;
}

.acv-lookup-input.acv-input-error {
    border-color: #dc3545;
}

.acv-lookup-btn {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #0073aa;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.acv-lookup-btn:hover {
    background: #005a87;
}

.acv-lookup-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Eroare */
.acv-lookup-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
    padding: 4px 0;
}

/* Mesaj gol */
.acv-lookup-empty {
    text-align: center;
    padding: 24px 16px;
    color: #666;
    font-size: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

/* Loading */
.acv-lookup-loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

/* ========== AFIȘARE CARDURI ========== */

.acv-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acv-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0073aa;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}

.acv-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.acv-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.acv-card-service {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
}

.acv-card-status {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.acv-card-status--confirmed {
    background: #e6ffed;
    color: #22863a;
}

.acv-card-status--pending {
    background: #fff8e1;
    color: #e65100;
}

.acv-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    font-size: 14px;
    color: #4a5568;
}

.acv-card-detail {
    display: flex;
    gap: 6px;
}

.acv-card-detail-label {
    font-weight: 600;
    color: #718096;
    min-width: 60px;
}

/* ========== AFIȘARE TABEL ========== */

.acv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.acv-table thead th {
    background: #f7f7f7;
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #ddd;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.acv-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.acv-table tbody tr:hover {
    background: #f9fbfd;
}

.acv-table .acv-status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.acv-status-badge--confirmed {
    background: #e6ffed;
    color: #22863a;
}

.acv-status-badge--pending {
    background: #fff8e1;
    color: #e65100;
}

/* Responsive */
@media (max-width: 600px) {
    .acv-lookup-input-row {
        flex-direction: column;
    }

    .acv-card-details {
        grid-template-columns: 1fr;
    }

    .acv-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .acv-table {
        font-size: 12px;
    }

    .acv-table thead th,
    .acv-table tbody td {
        padding: 8px 6px;
    }
}
