/* =========================================
   ESTILOS PARA PANEL DE USUARIO
   ========================================= */

/* --- Layout Principal --- */
.dashboard-main {
    min-height: calc(100vh - 80px);
    background: #f5f7fa;
    padding: 100px 20px 20px 20px;
    font-family: 'Poppins', sans-serif;
    margin-top: 0;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
}

/* --- Sidebar --- */
.dashboard-sidebar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 140px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.user-profile {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 36px;
    position: relative;
    overflow: hidden;
}

.profile-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile h3 {
    margin: 0 0 5px;
    font-size: 18px;
    color: #333;
}

.user-profile p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.sidebar-nav .nav-item i {
    font-size: 18px;
    width: 20px;
}

.sidebar-nav .nav-item span:not(.badge) {
    flex: 1;
}

.sidebar-nav .nav-item .badge {
    background: #e74c3c;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.sidebar-nav .nav-item:hover {
    background: #f0f8f0;
    color: #4CAF50;
}

.sidebar-nav .nav-item.active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.sidebar-nav .nav-item.active .badge {
    background: white;
    color: #4CAF50;
}

/* --- Contenido --- */
.dashboard-content {
    min-height: 600px;
    padding-top: 40px;
}

.content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.content-section.active {
    display: block;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 30px;
}

.section-header h1 {
    font-size: 28px;
    color: #333;
    margin: 0;
}

.section-header h1 i {
    color: #4CAF50;
    margin-right: 10px;
}

/* --- Cards de Estadísticas --- */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 60px 0 30px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.stat-info h3 {
    margin: 0 0 5px;
    font-size: 32px;
    color: #333;
}

.stat-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* --- Lista de Propiedades --- */
.properties-list {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.3s ease;
}

.property-item:last-child {
    border-bottom: none;
}

.property-item:hover {
    background: #f8f9fa;
}

.property-image {
    width: 150px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    background: #e1e5e9;
}

.property-info h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.property-info p {
    margin: 0 0 8px;
    color: #666;
    font-size: 14px;
}

.property-info .property-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.property-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #999;
}

.property-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.property-status {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.property-status.active {
    background: #d4edda;
    color: #155724;
}

.property-status.pending {
    background: #fff3cd;
    color: #856404;
}

.property-status.inactive {
    background: #f8d7da;
    color: #721c24;
}

/* --- Estado Vacío --- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 80px;
    color: #e1e5e9;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #666;
}

.empty-state p {
    margin: 0 0 30px;
    color: #999;
}

/* --- Formularios --- */
.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-form h3 {
    margin: 0 0 25px;
    color: #333;
    font-size: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f2ff;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 12px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f2f5;
}

/* --- Área de Carga --- */
.upload-area {
    border: 3px dashed #e1e5e9;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #4CAF50;
    background: #f0f8f0;
}

.upload-area i {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 15px;
}

.upload-area p {
    margin: 0 0 20px;
    color: #666;
}

.photos-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-item .remove-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
}

/* --- Lista de Mensajes --- */
.messages-list {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-item {
    padding: 20px;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.3s ease;
}

.message-item:last-child {
    border-bottom: none;
}

.message-item:hover {
    background: #f8f9fa;
}

.message-item.unread {
    background: #f0f8f0;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.message-sender {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

.message-date {
    font-size: 13px;
    color: #999;
}

.message-subject {
    margin: 0 0 10px;
    color: #4CAF50;
    font-weight: 600;
}

.message-preview {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* --- Alertas --- */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert i {
    font-size: 20px;
}

.alert-info {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

/* --- Botones --- */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: #e1e5e9;
    color: #333;
}

.btn-secondary:hover {
    background: #cbd1d7;
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(56, 239, 125, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* --- Profile Header Card --- */
.profile-header-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
    overflow: hidden;
}

.profile-cover {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #4CAF50;
    border: 6px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.profile-avatar-large img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.profile-avatar-large i {
    position: relative;
    z-index: 0;
}

.edit-avatar-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4CAF50;
    color: white;
    border: 3px solid white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.edit-avatar-btn:hover {
    background: #45a049;
    transform: scale(1.1);
}

.edit-avatar-btn:active {
    transform: scale(0.95);
    background: #45a049;
}

.profile-info-header {
    padding: 100px 30px 30px;
    text-align: center;
}

.profile-info-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #333;
}

.profile-info-header p {
    margin: 0 0 20px;
    color: #666;
    font-size: 16px;
}

.profile-stats-mini {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.stat-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-mini i {
    font-size: 24px;
    color: #4CAF50;
}

.stat-mini span {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.stat-mini small {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Info Sections --- */
.info-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f2f5;
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-section-header {
    margin-bottom: 20px;
}

.info-section-header h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section-header h4 i {
    color: #4CAF50;
}

.card-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f2f5;
}

.card-header-actions h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-actions h3 i {
    color: #4CAF50;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 1;
    pointer-events: none;
}

.input-with-icon input,
.input-with-icon select {
    padding-left: 45px !important;
}

.input-with-icon select {
    width: 100% !important;
    padding: 10px 10px 10px 45px !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* --- Property Progress Container --- */
.property-progress-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.progress-step.active .step-circle {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.progress-step.completed .step-circle {
    background: #4CAF50;
    color: white;
}

.progress-step.completed .step-circle .step-number {
    display: none;
}

.progress-step.completed .step-circle .fa-check {
    display: block !important;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f2f5;
    border: 3px solid #e1e5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #999;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-circle .fa-check {
    font-size: 20px;
}

.step-label {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #4CAF50;
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e1e5e9;
    margin: 0 -10px;
    position: relative;
    z-index: 1;
}

.progress-step.active ~ .progress-step .progress-line {
    background: #e1e5e9;
}

.progress-step.completed .progress-line {
    background: #4CAF50;
}

.progress-step.active .progress-line {
    background: linear-gradient(to right, #4CAF50 50%, #e1e5e9 50%);
}

/* --- Alert Improvements --- */
.alert-info {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.alert-info div {
    flex: 1;
}

.alert-info strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.alert-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.alert-info a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.alert-info a:hover {
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: relative;
        top: 0;
    }
    
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
    }
    
    .sidebar-nav .nav-item span:not(.badge) {
        display: none;
    }
    
    .user-profile {
        display: none;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .progress-line {
        display: none;
    }
}

/* --- Checkbox Group (Para múltiples checkboxes) --- */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    min-width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-group span {
    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .property-item {
        grid-template-columns: 1fr;
    }
    
    .property-actions {
        flex-direction: row;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .profile-stats-mini {
        gap: 20px;
    }
    
    .profile-avatar-large {
        width: 100px;
        height: 100px;
        font-size: 45px;
    }
    
    .edit-avatar-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
        bottom: 5px;
        right: 5px;
        border-width: 4px;
        z-index: 15;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    }
    
    .edit-avatar-btn:hover {
        transform: scale(1.05);
    }
    
    .edit-avatar-btn:active {
        transform: scale(0.9);
    }
}

/* =========================================
   MODAL DE DETALLES DE PROPIEDAD
   ========================================= */

.property-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content-new {
    position: relative;
    background: #f5f5f5;
    border-radius: 16px;
    max-width: 1400px;
    max-height: 90vh;
    margin: 5vh auto;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideUp 0.3s ease;
    padding: 30px;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 1200px;
    max-height: 90vh;
    margin: 5vh auto;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s ease;
    font-size: 18px;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

/* Layout Principal */
.property-details-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Tarjeta Principal Izquierda */
.property-main-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.property-banner {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    opacity: 0.8;
}

.banner-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.property-type-badge-new {
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.property-main-info {
    padding: 25px;
}

.property-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.property-name {
    margin: 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: bold;
    flex: 1;
}

.property-category-tag {
    background: #e8e8e8;
    color: #555;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.property-address {
    margin: 0 0 16px 0;
    color: #7f8c8d;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-price-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 8px;
    color: white;
}

.price-label {
    font-size: 16px;
    opacity: 0.9;
}

.price-value {
    font-size: 32px;
    font-weight: bold;
}

.property-quick-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #2c3e50;
}

.quick-info-item i {
    font-size: 16px;
}

/* Tarjeta Información Adicional */
.property-additional-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f2f5;
}

.card-header i {
    color: #7f8c8d;
    font-size: 18px;
}

.card-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.additional-info-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.info-label {
    color: #7f8c8d;
    font-size: 13px;
    font-weight: 500;
}

.info-value {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
}

.highlight-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 4px;
}

/* Tarjeta Descripción */
.property-description-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.description-content {
    margin-top: 16px;
}

.description-content p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

/* Galería de Imágenes */
.property-gallery-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gallery-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.gallery-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    color: white;
    font-size: 32px;
}

.property-images-section {
    margin-bottom: 30px;
}

.property-images-gallery {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.property-image-item {
    display: none;
}

.property-image-item.active {
    display: block;
}

.property-image-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.property-image-clickable {
    cursor: pointer;
}

.property-image-item img:hover {
    transform: scale(1.02);
}

.property-images-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.property-images-thumbnails img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.property-images-thumbnails img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.property-images-thumbnails img.active {
    opacity: 1;
    border-color: #4CAF50;
}

.property-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.property-price-section {
    padding: 20px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 12px;
    color: white;
}

.property-price {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
}

.property-discount {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 14px;
}

.property-description {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.property-description h3 {
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-description h3 i {
    color: #4CAF50;
}

.property-description p {
    margin: 0;
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.property-characteristics {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.property-characteristics h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-characteristics h3 i {
    color: #4CAF50;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.characteristic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.characteristic-item i {
    color: #4CAF50;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.char-label {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

.char-value {
    color: #2c3e50;
    font-weight: bold;
    margin-left: auto;
}

/* Modal de imagen completa */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 20001;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@media (max-width: 1024px) {
    .property-details-layout {
        gap: 15px;
    }
    
    .property-main-info {
        padding: 20px;
    }
    
    .property-additional-card {
        padding: 18px;
    }
    
    .property-description-card {
        padding: 20px;
    }
    
    .property-gallery-section {
        padding: 20px;
    }
    
    .gallery-thumbnails-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .modal-content-new {
        max-width: 95%;
        margin: 2.5vh auto;
        max-height: 95vh;
        padding: 15px;
    }
    
    .property-details-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .property-main-card {
        border-radius: 10px;
    }
    
    .property-banner {
        height: 180px;
    }
    
    .banner-image {
        object-fit: cover;
    }
    
    .property-main-info {
        padding: 18px;
    }
    
    .property-header-info {
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .property-name {
        font-size: 22px;
    }
    
    .property-category-tag {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .property-address {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .property-address i {
        font-size: 14px;
    }
    
    .property-price-main {
        padding: 12px 16px;
        margin-bottom: 16px;
    }
    
    .price-label {
        font-size: 14px;
    }
    
    .price-value {
        font-size: 26px;
    }
    
    .property-quick-info {
        gap: 10px;
    }
    
    .quick-info-item {
        padding: 6px 10px;
        font-size: 13px;
        gap: 5px;
    }
    
    .quick-info-item i {
        font-size: 14px;
    }
    
    .property-additional-card {
        padding: 16px;
        margin-top: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .additional-info-content {
        width: 100%;
        box-sizing: border-box;
    }
    
    .card-header {
        padding-bottom: 10px;
        margin-bottom: 16px;
        gap: 8px;
    }
    
    .card-header h3 {
        font-size: 18px;
    }
    
    .card-header i {
        font-size: 16px;
    }
    
    .info-row {
        padding: 8px 0;
    }
    
    .info-label {
        font-size: 13px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    .whatsapp-btn {
        padding: 9px 16px !important;
        font-size: 13px !important;
        gap: 7px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .whatsapp-btn i {
        font-size: 16px !important;
    }
    
    .whatsapp-btn span {
        font-size: 13px !important;
    }
    
    .property-description-card {
        padding: 18px;
        margin-bottom: 16px;
    }
    
    .description-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .property-gallery-section {
        padding: 18px;
    }
    
    .gallery-thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-thumbnail {
        border-radius: 6px;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 2.5vh auto;
        max-height: 95vh;
    }
    
    .property-details-header,
    .property-details-content {
        padding: 20px;
    }
    
    .property-image-item img {
        height: 300px;
    }
    
    .property-price {
        font-size: 28px;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .property-banner {
        height: 150px;
    }
    
    .banner-placeholder i {
        font-size: 60px !important;
    }
    
    .property-type-badge-new {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .property-main-info {
        padding: 15px;
    }
    
    .property-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .property-name {
        font-size: 20px;
    }
    
    .property-address {
        font-size: 12px;
    }
    
    .property-price-main {
        padding: 10px 14px;
    }
    
    .price-value {
        font-size: 22px;
    }
    
    .property-quick-info {
        gap: 8px;
    }
    
    .quick-info-item {
        padding: 5px 8px;
        font-size: 12px;
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
    }
    
    .property-additional-card {
        padding: 14px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .additional-info-content {
        width: 100%;
        box-sizing: border-box;
    }
    
    .info-row {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .card-header {
        margin-bottom: 12px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .info-row {
        padding: 6px 0;
        flex-wrap: wrap;
    }
    
    .info-label {
        font-size: 12px;
        width: 100%;
        margin-bottom: 4px;
    }
    
    .info-value {
        font-size: 13px;
        width: 100%;
    }
    
    .whatsapp-btn {
        padding: 8px 14px !important;
        font-size: 12px !important;
        gap: 6px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .whatsapp-btn i {
        font-size: 15px !important;
    }
    
    .whatsapp-btn span {
        font-size: 12px !important;
    }
    
    .property-description-card {
        padding: 15px;
    }
    
    .description-content p {
        font-size: 13px;
    }
    
    .property-gallery-section {
        padding: 15px;
    }
    
    .gallery-thumbnails-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .gallery-thumbnail {
        max-width: 100%;
    }
    
    .property-map-section {
        padding: 15px;
    }
    
    .map-address-info {
        padding: 10px;
        font-size: 11px;
    }
    
    .property-images-thumbnails img {
        width: 80px;
        height: 60px;
    }
}

/* =========================================
   MEDIA QUERIES PARA DASHBOARD RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 240px 1fr;
        gap: 15px;
    }
    
    .dashboard-sidebar {
        padding: 15px;
    }
    
    .stats-cards {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
}

/* Vista de Inicio Móvil - 4 Cuadrados */
.mobile-home-grid {
    display: none;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .dashboard-main {
        padding: 80px 10px 20px 10px;
    }
    
    /* Vista de inicio móvil - 4 cuadrados */
    .mobile-home-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 10px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .mobile-home-card {
        background: white;
        border-radius: 16px;
        padding: 20px;
        text-align: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 140px;
    }
    
    .mobile-home-card:active {
        transform: scale(0.95);
    }
    
    .mobile-card-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 28px;
        margin-bottom: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-home-card h3 {
        margin: 0 0 6px 0;
        font-size: 16px;
        color: #2c3e50;
        font-weight: 600;
    }
    
    .mobile-home-card p {
        margin: 0;
        font-size: 12px;
        color: #7f8c8d;
    }
    
    .mobile-card-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #e74c3c;
        color: white;
        font-size: 11px;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 12px;
        min-width: 20px;
        text-align: center;
        display: none;
    }
    
    .mobile-card-badge:not([style*="display: none"]) {
        display: block;
    }
    
    /* Ocultar sidebar y container por defecto en móvil */
    .dashboard-container {
        display: none;
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .dashboard-container.mobile-active {
        display: grid;
    }
    
    /* Sidebar móvil - convertido a menú superior */
    .dashboard-sidebar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        z-index: 1000;
        margin-top: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        border-radius: 0;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .dashboard-sidebar.mobile-open {
        left: 0;
    }
    
    /* Overlay para móvil */
    .mobile-sidebar-overlay {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .mobile-sidebar-overlay.active {
        display: block;
    }
    
    .dashboard-content {
        padding-top: 20px;
        margin-left: 0;
    }
    
    /* Ocultar vista de inicio cuando se muestra contenido */
    .mobile-home-grid.mobile-hidden {
        display: none;
    }
    
    .section-header {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .section-header h1 {
        font-size: 24px;
    }
    
    /* Stats Cards */
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 40px 0 20px 0;
    }
    
    .stat-card {
        padding: 15px;
        gap: 12px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .stat-info h3 {
        font-size: 24px;
    }
    
    .stat-info p {
        font-size: 12px;
    }
    
    /* Properties List */
    .properties-list {
        padding: 15px;
    }
    
    .property-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .property-image {
        width: 100%;
        height: 200px;
    }
    
    .property-actions {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }
    
    /* Form Cards */
    .form-card {
        padding: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }
    
    /* Progress Steps */
    .progress-steps {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .progress-step {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
    }
    
    .step-label {
        font-size: 11px;
    }
    
    /* Property Cards Grid */
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .property-card-dashboard {
        padding: 15px;
    }
    
    .property-card-dashboard .property-image-container {
        height: 200px;
    }
    
    .property-card-dashboard .property-actions {
        flex-direction: row;
        gap: 8px;
    }
    
    .property-card-dashboard .btn-action {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Messages */
    .messages-list {
        padding: 15px;
    }
    
    .property-messages-group {
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }
    
    .property-header {
        padding: 15px !important;
        flex-wrap: wrap !important;
    }
    
    .property-header h3 {
        font-size: 16px !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    
    .property-header h3 span {
        margin-left: 4px !important;
        padding: 3px 8px !important;
        font-size: 11px !important;
    }
    
    .property-header p {
        font-size: 12px !important;
        margin-top: 6px !important;
    }
    
    .property-header i.fa-chevron-right,
    .property-header i.fa-chevron-down {
        font-size: 16px !important;
    }
    
    .property-messages-content {
        padding: 0 15px 15px 15px !important;
    }
    
    .message-item {
        padding: 12px !important;
        margin-top: 10px !important;
        border-radius: 8px !important;
    }
    
    .message-item > div:first-child {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .message-item h4 {
        font-size: 14px !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
    }
    
    .message-item h4 span {
        font-size: 10px !important;
        padding: 2px 5px !important;
        margin-left: 4px !important;
    }
    
    .message-item p {
        font-size: 11px !important;
    }
    
    .message-item button {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }
    
    .message-item > div:nth-child(2) {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }
    
    .message-item > div:last-child {
        flex-wrap: wrap !important;
        gap: 10px !important;
        font-size: 11px !important;
        padding-top: 8px !important;
    }
    
    .message-item > div:last-child span {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    /* Profile Section */
    .profile-form {
        padding: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    /* Amenities Grid */
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* Image Preview */
    .image-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .image-preview-item {
        height: 120px;
    }
    
    /* Empty State */
    .empty-state {
        padding: 40px 15px;
    }
    
    .empty-state i {
        font-size: 60px;
    }
    
    .empty-state h3 {
        font-size: 20px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .dashboard-main {
        padding: 70px 8px 15px 8px;
    }
    
    .dashboard-sidebar {
        width: 260px;
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .mobile-sidebar-overlay {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .section-header {
        margin-top: 15px;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-header h1 {
        font-size: 20px;
    }
    
    /* Stats Cards */
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 30px 0 15px 0;
    }
    
    .stat-card {
        padding: 12px;
        gap: 10px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .stat-info h3 {
        font-size: 20px;
    }
    
    .stat-info p {
        font-size: 11px;
    }
    
    /* Properties */
    .properties-list {
        padding: 12px;
    }
    
    .property-item {
        padding: 12px;
        gap: 12px;
    }
    
    .property-image {
        height: 180px;
    }
    
    .property-info h3 {
        font-size: 16px;
    }
    
    .property-info p {
        font-size: 13px;
    }
    
    .property-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Forms */
    .form-card {
        padding: 12px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
        padding: 8px;
    }
    
    /* Progress Steps */
    .progress-step {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    /* User Profile in Sidebar */
    .user-profile {
        padding: 15px 0;
    }
    
    .profile-avatar {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .profile-avatar-large {
        width: 100px;
        height: 100px;
        font-size: 45px;
        margin-top: 60px;
    }
    
    .edit-avatar-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
        bottom: 5px;
        right: 5px;
        border-width: 4px;
        z-index: 15;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    }
    
    .edit-avatar-btn:active {
        transform: scale(0.9);
    }
    
    .profile-avatar-large {
        position: relative;
    }
    
    /* Asegurar que el botón esté accesible en móvil */
    .profile-avatar-large:active .edit-avatar-btn,
    .profile-avatar-large:focus-within .edit-avatar-btn {
        opacity: 1;
    }
    
    .profile-info-header {
        padding: 80px 20px 20px;
    }
    
    .user-profile h3 {
        font-size: 16px;
    }
    
    .user-profile p {
        font-size: 12px;
    }
    
    .sidebar-nav .nav-item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .sidebar-nav .nav-item i {
        font-size: 16px;
        width: 18px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    /* Amenities */
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* Image Preview */
    .image-preview-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .image-preview-item {
        height: 150px;
    }
    
    /* Empty State */
    .empty-state {
        padding: 30px 10px;
    }
    
    .empty-state i {
        font-size: 50px;
    }
    
    .empty-state h3 {
        font-size: 18px;
    }
    
    .empty-state p {
        font-size: 13px;
    }
    
    /* Messages Mobile Adjustments */
    .messages-list {
        padding: 10px 8px !important;
    }
    
    .property-messages-group {
        margin-bottom: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        border-radius: 10px !important;
        overflow: hidden !important;
    }
    
    .property-header {
        padding: 16px 12px !important;
        min-height: 60px !important;
        display: flex !important;
        align-items: center !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(76, 175, 80, 0.2) !important;
    }
    
    .property-header:active {
        background: #f0f0f0 !important;
    }
    
    .property-header h3 {
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        flex: 1 !important;
    }
    
    .property-header h3 span {
        font-size: 11px !important;
        padding: 3px 7px !important;
        margin-left: 6px !important;
    }
    
    .property-header p {
        font-size: 11px !important;
        margin: 4px 0 0 0 !important;
        width: 100% !important;
    }
    
    .property-header i.fa-chevron-right,
    .property-header i.fa-chevron-down {
        font-size: 18px !important;
        margin-left: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .property-messages-content {
        padding: 0 12px 12px 12px !important;
    }
    
    .message-item {
        padding: 14px 12px !important;
        margin-top: 10px !important;
        border-radius: 8px !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(76, 175, 80, 0.1) !important;
    }
    
    .message-item:active {
        transform: scale(0.98) !important;
        background: ${isUnread ? '#e8f5e9' : '#f0f0f0'} !important;
    }
    
    .message-item > div:first-child {
        margin-bottom: 12px !important;
        gap: 10px !important;
    }
    
    .message-item h4 {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        line-height: 1.4 !important;
    }
    
    .message-item h4 i {
        font-size: 14px !important;
    }
    
    .message-item h4 span {
        font-size: 10px !important;
        padding: 2px 6px !important;
    }
    
    .message-item > div:nth-child(2) {
        font-size: 13px !important;
        margin-bottom: 12px !important;
        line-height: 1.5 !important;
    }
    
    .message-item > div:nth-child(2) p {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .message-item > div:last-child {
        font-size: 11px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding-top: 10px !important;
    }
    
    .message-item > div:last-child span {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .message-item > div:last-child span i {
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }
    
    .message-item .delete-message-btn {
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 10px !important;
        font-size: 14px !important;
    }
    
    .message-item .delete-message-btn:active {
        transform: scale(0.9) !important;
        background: #d32f2f !important;
    }
}

