.be-phone-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.be-phone-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.be-phone-container .be-input {
    flex: 1;
    width: auto;
}

.be-country-select-wrapper {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
}

.be-country-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.be-phone-prefix-input {
    width: 45px;
    border: none;
    outline: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    padding: 0;
    background: transparent;
}
:root {
    --be-primary: #C5A059;
    --be-accent: #C5A059;
    --be-bg-light: #f9fafb;
}

/* Base Responsive Text with REM */
.be-main-container {
    font-size: 1rem; /* 16px default */
}

@media (max-width: 640px) {
    .be-main-container {
        font-size: 0.875rem; /* 14px on mobile */
    }
}

/* Responsive Headings */
.be-title {
    font-size: 2rem; /* ~32px */
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .be-title {
        font-size: 1.5rem; /* ~24px */
    }
}

.be-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    text-align: justify;
}

@media (max-width: 640px) {
    .be-description {
        font-size: 0.9375rem; /* ~15px */
    }
}

/* Modal Responsiveness */
.be-modal-content {
    max-height: 90vh;
    overflow-y: auto;
    width: 95%;
    margin: auto;
    padding: 1rem;
}

@media (min-width: 768px) {
    .be-modal-content {
        padding: 2rem;
        width: 100%;
    }
}

/* Form Elements with REM */
.be-input, .be-textarea, .be-select {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.2s;
}

.be-input:focus {
    border-color: var(--be-primary);
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

.be-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.25rem;
}

/* Buttons with REM */
.be-btn-primary {
    background-color: var(--be-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.be-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Table Responsiveness */
.be-table-container {
    background: white;
    border-radius: 0.75rem;
    overflow-x: auto;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.be-table {
    width: 100%;
    border-collapse: collapse;
}

.be-table th {
    background-color: #E5E5E5;
    padding: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    border-bottom: 1px solid #f3f4f6;
}

.be-table td {
    padding: 1rem;
    font-size: 0.875rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

/* Modal Compact Styles */
.be-modal-compact .be-input, 
.be-modal-compact .be-textarea, 
.be-modal-compact .be-select {
    padding: 0.5rem;
    font-size: 0.875rem;
}

.be-modal-compact .be-label {
    font-size: 0.75rem;
}

.be-modal-compact .be-btn-primary,
.be-modal-compact #cancel-modal-btn,
.be-modal-compact #cancel-buzon-btn,
.be-modal-compact #cancel-reclamo-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.be-modal-compact .be-modal-header {
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.be-modal-compact .be-modal-title {
    font-size: 1.25rem;
}

.be-file-upload-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.be-file-row {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    overflow: hidden;
    background: white;
}

.be-file-label {
    background: #eff6ff;
    padding: 0.75rem 1rem;
    border-right: 1px solid #d1d5db;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    white-space: nowrap;
}

.be-file-name {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.be-file-remove {
    padding: 0.75rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
    border: none;
    background: none;
}

.be-file-remove:hover {
    color: #ef4444;
}

.be-add-more-container {
    margin-top: 0;
}

.be-add-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #E2E2E2;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.be-add-more-btn:hover {
    transform: scale(1.05);
    background-color: #d1d1d1;
}

.be-file-info {
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .be-file-row {
        flex-wrap: wrap;
    }
    .be-file-label {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #d1d5db;
    }
}

/* Parsley Validation Styles */
/* Info Card & Trigger Stacking for Mobile */
.be-info-trigger-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .be-info-trigger-container {
        flex-direction: row;
        align-items: start;
        text-align: left;
    }
}

.be-input-error {
    border-color: #ef4444 !important;
}

.be-input-error:focus {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

.be-parsley-errors-list {
    margin: 4px 0 0;
    padding: 0;
    list-style-type: none;
    font-size: 0.75rem;
    color: #ef4444;
    width: 100%;
}

.be-parsley-error-item {
    font-weight: 500;
}

@media (max-width: 480px) {
    .be-phone-container {
        flex-wrap: nowrap !important;
    }
    .be-country-select-wrapper {
        padding: 0.25rem 0.5rem !important;
    }
}
