/* ============================================================
   Directorio Comercial — Estilos Frontend
   ============================================================ */

:root {
    --dc-primary:   #2563eb;
    --dc-primary-h: #1d4ed8;
    --dc-danger:    #dc2626;
    --dc-success:   #16a34a;
    --dc-warn:      #d97706;
    --dc-gray-100:  #f3f4f6;
    --dc-gray-200:  #e5e7eb;
    --dc-gray-400:  #9ca3af;
    --dc-gray-700:  #374151;
    --dc-text:      #111827;
    --dc-border:    #d1d5db;
    --dc-radius:    8px;
    --dc-shadow:    0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
    --dc-shadow-md: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.06);
}

/* ---- Buttons ---- */
.dc-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--dc-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all .2s;
}
.dc-btn-primary   { background: var(--dc-primary); color: #fff; }
.dc-btn-primary:hover { background: var(--dc-primary-h); color: #fff; }
.dc-btn-secondary { background: #fff; color: var(--dc-primary); border-color: var(--dc-primary); }
.dc-btn-secondary:hover { background: var(--dc-gray-100); }
.dc-btn-danger    { background: var(--dc-danger); color: #fff; }
.dc-btn-small     { padding: 5px 12px; font-size: 12px; }
.dc-btn-large     { padding: 14px 32px; font-size: 16px; }

/* ---- Search ---- */
.dc-search-form { margin-bottom: 24px; }
.dc-search-row  {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.dc-search-row input,
.dc-search-row select {
    flex: 1; min-width: 140px;
    padding: 10px 14px;
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius);
    font-size: 14px;
}
.dc-results-count { color: var(--dc-gray-400); font-size: 14px; margin-bottom: 16px; }

/* ---- Grid ---- */
.dc-grid { display: grid; gap: 20px; }
.dc-grid-1 { grid-template-columns: 1fr; }
.dc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.dc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.dc-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .dc-grid-3, .dc-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dc-grid { grid-template-columns: 1fr; } }

/* ---- Card ---- */
.dc-card {
    background: #fff;
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex; flex-direction: column;
}
.dc-card:hover { box-shadow: var(--dc-shadow-md); transform: translateY(-2px); }
.dc-card-image { display: block; overflow: hidden; height: 200px; }
.dc-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dc-card:hover .dc-card-image img { transform: scale(1.04); }
.dc-card-no-image {
    height: 140px; background: var(--dc-gray-100);
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: var(--dc-gray-400);
}
.dc-card-body  { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.dc-card-title { margin: 0 0 8px; font-size: 16px; }
.dc-card-title a { color: var(--dc-text); text-decoration: none; }
.dc-card-title a:hover { color: var(--dc-primary); }
.dc-card-cats  { margin-bottom: 8px; }
.dc-tag {
    display: inline-block; background: #eff6ff; color: var(--dc-primary);
    border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: 600; margin-right: 4px;
}
.dc-card-excerpt { font-size: 13px; color: var(--dc-gray-700); flex: 1; margin: 0 0 12px; }
.dc-card-tel { font-size: 13px; color: var(--dc-gray-700); margin-bottom: 12px; }
.dc-card-tel a { color: inherit; text-decoration: none; }

/* ---- Pagination ---- */
.dc-pagination { margin-top: 24px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.dc-page-btn {
    padding: 8px 14px; border-radius: var(--dc-radius);
    border: 1px solid var(--dc-border); color: var(--dc-text);
    text-decoration: none; font-size: 14px;
}
.dc-page-btn.active { background: var(--dc-primary); color: #fff; border-color: var(--dc-primary); }
.dc-page-btn:hover  { background: var(--dc-gray-100); }

/* ---- No results ---- */
.dc-no-results { text-align: center; padding: 48px; color: var(--dc-gray-400); }

/* ---- Form ---- */
.dc-form-wrap  { max-width: 780px; }
.dc-form-section {
    background: #fff; border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow); padding: 24px; margin-bottom: 20px;
}
.dc-form-section h3 { margin: 0 0 16px; font-size: 16px; color: var(--dc-text); }
.dc-field { margin-bottom: 16px; }
.dc-field label { display: block; font-size: 13px; font-weight: 600; color: var(--dc-gray-700); margin-bottom: 6px; }
.dc-field input[type="text"],
.dc-field input[type="email"],
.dc-field input[type="url"],
.dc-field textarea,
.dc-field select {
    width: 100%; padding: 10px 12px;
    border: 1px solid var(--dc-border); border-radius: var(--dc-radius);
    font-size: 14px; transition: border-color .2s;
    box-sizing: border-box;
}
.dc-field input:focus, .dc-field textarea:focus, .dc-field select:focus {
    outline: none; border-color: var(--dc-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.dc-field small { display: block; color: var(--dc-gray-400); font-size: 12px; margin-top: 4px; }
.dc-field-row { display: flex; gap: 16px; }
.dc-field-row .dc-field { flex: 1; }
@media (max-width: 600px) { .dc-field-row { flex-direction: column; } }

/* Photo preview */
.dc-photo-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.dc-photo-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--dc-radius); border: 2px solid var(--dc-border); }

/* SEO section */
.dc-seo-section { border-left: 3px solid var(--dc-primary); }
.dc-section-desc { color: var(--dc-gray-400); font-size: 13px; margin: -8px 0 16px; }
.dc-char-count { text-align: right; font-size: 11px; color: var(--dc-gray-400); margin-top: 2px; }

/* Google preview */
.dc-seo-preview { margin-top: 16px; }
.dc-seo-preview-label { font-size: 12px; color: var(--dc-gray-400); margin-bottom: 6px; }
.dc-google-preview {
    border: 1px solid var(--dc-border); border-radius: var(--dc-radius);
    padding: 12px 16px; background: #fff; font-family: Arial, sans-serif;
}
.dc-gp-title { color: #1a0dab; font-size: 18px; cursor: pointer; }
.dc-gp-title:hover { text-decoration: underline; }
.dc-gp-url   { color: #006621; font-size: 13px; margin: 2px 0; }
.dc-gp-desc  { color: #545454; font-size: 13px; }

/* Form submit */
.dc-form-submit { text-align: center; padding: 16px 0; }
.dc-submit-note { font-size: 12px; color: var(--dc-gray-400); margin-top: 8px; }

/* ---- Messages ---- */
.dc-notice { padding: 14px 18px; border-radius: var(--dc-radius); margin-bottom: 16px; }
.dc-notice-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.dc-notice-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.dc-notice-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
#dc-form-messages { margin-bottom: 16px; }

/* ---- My listings table ---- */
.dc-my-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dc-my-table th { text-align: left; padding: 10px; background: var(--dc-gray-100); border-bottom: 2px solid var(--dc-border); }
.dc-my-table td { padding: 10px; border-bottom: 1px solid var(--dc-border); vertical-align: middle; }
.dc-status { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.dc-status-published { background: #f0fdf4; color: #15803d; }
.dc-status-pending   { background: #fffbeb; color: #92400e; }
.dc-status-rejected  { background: #fef2f2; color: #991b1b; }
.dc-rejection-note { color: var(--dc-danger); font-style: italic; }

/* ---- Auth gate (no logueado) ---- */
.dc-auth-gate {
    text-align: center; padding: 60px 30px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border-radius: 12px; border: 2px dashed #bfdbfe;
}
.dc-auth-gate-icon { font-size: 56px; margin-bottom: 12px; }
.dc-auth-gate h2   { font-size: 24px; margin: 0 0 10px; }
.dc-auth-gate p    { color: #6b7280; margin: 0 0 24px; font-size: 15px; }
.dc-auth-gate-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Form welcome ---- */
.dc-form-welcome { margin-bottom: 24px; }
.dc-form-welcome h2 { font-size: 22px; margin: 0 0 6px; }
.dc-form-welcome p  { color: #6b7280; margin: 0; }

/* ---- Steps indicator ---- */
.dc-steps {
    display: flex; align-items: center;
    margin-bottom: 28px; gap: 0;
}
.dc-step {
    display: flex; flex-direction: column; align-items: center;
    flex-shrink: 0; cursor: default;
}
.dc-step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--dc-gray-200); color: var(--dc-gray-400);
    font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s;
}
.dc-step-label { font-size: 11px; color: var(--dc-gray-400); margin-top: 5px; white-space: nowrap; }
.dc-step-line  { flex: 1; height: 3px; background: var(--dc-gray-200); transition: background .25s; }
.dc-step.dc-step-active   .dc-step-num { background: var(--dc-primary); color: #fff; }
.dc-step.dc-step-active   .dc-step-label { color: var(--dc-primary); font-weight: 600; }
.dc-step.dc-step-done     .dc-step-num { background: var(--dc-success); color: #fff; }
.dc-step.dc-step-done     .dc-step-label { color: var(--dc-success); }
.dc-step-line.dc-line-done { background: var(--dc-success); }
@media (max-width: 500px) { .dc-step-label { display: none; } }

/* ---- Step panels ---- */
.dc-step-panel         { display: none; }
.dc-step-panel-active  { display: block; }

/* ---- Section header ---- */
.dc-section-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.dc-section-icon   { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.dc-section-header h3 { margin: 0 0 3px; font-size: 17px; }
.dc-section-header p  { margin: 0; color: var(--dc-gray-400); font-size: 13px; }

/* ---- Required mark ---- */
.dc-required   { color: var(--dc-danger); margin-left: 2px; }
.dc-field-hint { color: var(--dc-gray-400); font-weight: normal; font-size: 12px; margin-left: 6px; }

/* ---- Upload area ---- */
.dc-upload-area {
    border: 2px dashed var(--dc-border); border-radius: var(--dc-radius);
    padding: 30px; text-align: center; cursor: pointer;
    transition: border-color .2s, background .2s;
    background: var(--dc-gray-100);
}
.dc-upload-area:hover, .dc-upload-area.dc-drag-over {
    border-color: var(--dc-primary); background: #eff6ff;
}
.dc-upload-icon  { font-size: 40px; margin-bottom: 8px; }
.dc-upload-area p { margin: 4px 0; color: var(--dc-gray-700); font-size: 14px; }
.dc-upload-hint  { color: var(--dc-gray-400); font-size: 12px; margin: 8px 0 16px !important; }

/* ---- Char bar ---- */
.dc-char-bar { background: var(--dc-gray-200); border-radius: 4px; height: 4px; margin-top: 6px; overflow: hidden; }
.dc-char-bar-fill { height: 100%; background: var(--dc-primary); border-radius: 4px; transition: width .2s, background .2s; width: 0; }
.dc-char-bar-fill.dc-bar-warn { background: var(--dc-warn); }
.dc-char-bar-fill.dc-bar-full { background: var(--dc-danger); }

/* ---- Step navigation ---- */
.dc-step-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--dc-gray-200);
}

/* ---- Checklist ---- */
.dc-review-section { background: #f0fdf4; border: 1px solid #bbf7d0; }
.dc-checklist { display: flex; flex-direction: column; gap: 8px; }
.dc-check-item { font-size: 14px; color: var(--dc-gray-700); display: flex; align-items: center; gap: 8px; }
.dc-check-item.dc-checked .dc-check-icon { color: var(--dc-success); }
.dc-check-item.dc-checked { color: var(--dc-success); }

/* ---- Submit btn ---- */
.dc-btn-submit { min-width: 220px; }
.dc-submit-note { text-align: center; font-size: 12px; color: var(--dc-gray-400); margin-top: 12px; }

/* ---- Google preview (improved) ---- */
.dc-gp-domain { font-size: 12px; color: #202124; margin-bottom: 2px; }

.dc-modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999;
}
.dc-auth-modal {
    display: none; position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff; border-radius: 12px; padding: 32px;
    width: 90%; max-width: 420px; z-index: 1000;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.dc-auth-modal.dc-open, .dc-modal-overlay.dc-open { display: block; }
.dc-modal-inner { position: relative; }
.dc-modal-close {
    position: absolute; top: -16px; right: -16px;
    background: var(--dc-gray-200); border: none; border-radius: 50%;
    width: 30px; height: 30px; cursor: pointer; font-size: 14px;
}
.dc-auth-modal h3 { margin: 0 0 20px; font-size: 20px; }
.dc-auth-switch { font-size: 13px; text-align: center; margin-top: 12px; }

/* ---- Single negocio ---- */
.dc-single-wrap { max-width: 860px; margin: 0 auto; }
.dc-single-gallery { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.dc-single-gallery img { border-radius: var(--dc-radius); max-height: 260px; object-fit: cover; cursor: pointer; flex: 1; min-width: 200px; }
.dc-single-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.dc-meta-item { background: var(--dc-gray-100); border-radius: var(--dc-radius); padding: 12px 16px; }
.dc-meta-item strong { display: block; font-size: 11px; text-transform: uppercase; color: var(--dc-gray-400); margin-bottom: 4px; }
.dc-meta-item a { color: var(--dc-primary); text-decoration: none; }
@media (max-width: 600px) { .dc-single-meta { grid-template-columns: 1fr; } }

/* ---- Photo thumbnails ---- */
.dc-photo-thumb {
    position: relative; display: inline-block;
    width: 90px; height: 90px; margin: 4px;
}
.dc-photo-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: var(--dc-radius); border: 2px solid var(--dc-border);
}
.dc-photo-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(37,99,235,.8); color: #fff;
    font-size: 10px; font-weight: 700; text-align: center;
    padding: 2px 0; border-radius: 0 0 6px 6px;
}

/* ---- Success state ---- */
.dc-success-state {
    text-align: center; padding: 48px 24px;
    background: #f0fdf4; border-radius: 12px;
    border: 2px solid #bbf7d0;
}
.dc-success-icon { font-size: 56px; margin-bottom: 12px; }
.dc-success-state h3 { font-size: 20px; color: #15803d; margin: 0 0 8px; }
.dc-success-state p  { color: #6b7280; margin: 0; }

/* Etiqueta "(opcional)" */
.dc-field-opcional { font-size:11px; font-weight:400; color:#9ca3af; margin-left:4px; }

/* ── Botones de login social ── */
.dc-social-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px;
}
.dc-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter .15s, transform .1s;
}
.dc-social-btn:hover  { filter: brightness(.93); transform: translateY(-1px); }
.dc-social-btn:active { transform: translateY(0); }
.dc-social-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.dc-social-google   { background: #fff; color: #3c4043; border: 1.5px solid #dadce0; }
.dc-social-facebook { background: #1877F2; color: #fff; }

/* Separador "o con tu correo" */
.dc-social-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    font-size: 12px;
    color: #9ca3af;
}
.dc-social-divider::before,
.dc-social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Footer del modal (olvidé contraseña · crear cuenta) */
.dc-auth-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 13px;
    color: #6b7280;
    flex-wrap: wrap;
}
.dc-auth-footer a { color: var(--dc-primary, #2563eb); text-decoration: none; }
.dc-auth-footer a:hover { text-decoration: underline; }

/* ============================================================
   [dc_mi_cuenta] — Panel de cuenta de usuario  v1.6
   ============================================================ */

/* Wrapper */
.dc-cuenta-wrap { max-width: 820px; margin: 0 auto; }

/* Cabecera de perfil */
.dc-cuenta-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.dc-cuenta-avatar-wrap { position: relative; flex-shrink: 0; }
.dc-cuenta-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e7eb;
    display: block;
}
.dc-avatar-edit-btn {
    position: absolute; bottom: 0; right: 0;
    background: #2563eb; color: #fff;
    border: 2px solid #fff; border-radius: 50%;
    width: 26px; height: 26px;
    font-size: 11px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
}
.dc-cuenta-info { flex: 1; min-width: 180px; }
.dc-cuenta-name  { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.dc-cuenta-email { margin: 0 0 8px; color: #6b7280; font-size: 14px; }
.dc-cuenta-meta  { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-cuenta-stats {
    display: flex; gap: 20px; flex-shrink: 0;
    background: #f3f4f6; border-radius: 10px; padding: 14px 20px;
}
.dc-stat { text-align: center; }
.dc-stat-num   { display: block; font-size: 24px; font-weight: 700; color: #2563eb; line-height: 1; }
.dc-stat-label { font-size: 11px; color: #6b7280; margin-top: 3px; display: block; }

/* Badges */
.dc-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.dc-badge-blue   { background: #dbeafe; color: #1d4ed8; }
.dc-badge-green  { background: #dcfce7; color: #15803d; }
.dc-badge-yellow { background: #fef9c3; color: #854d0e; }
.dc-badge-red    { background: #fee2e2; color: #991b1b; }
.dc-badge-gray   { background: #f3f4f6; color: #374151; }

/* Tabs */
.dc-cuenta-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e5e7eb;
    margin: 20px 0 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.dc-tab-btn {
    background: none; border: none;
    padding: 10px 16px;
    font-size: 14px; font-weight: 500;
    color: #6b7280; cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.dc-tab-btn:hover    { color: #2563eb; }
.dc-tab-btn.dc-tab-active { color: #2563eb; border-bottom-color: #2563eb; font-weight: 600; }

/* Paneles */
.dc-tab-panel { display: none; padding-top: 20px; }
.dc-tab-panel.dc-tab-panel-active { display: block; }

/* Sección de contraseña */
.dc-pw-wrap { display: flex; gap: 6px; }
.dc-pw-wrap input { flex: 1; }
.dc-pw-toggle { background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 6px; padding: 0 10px; cursor: pointer; font-size: 14px; }
.dc-pw-strength { margin-top: 5px; font-size: 12px; min-height: 18px; }

/* Listado de publicaciones */
.dc-mis-listings { display: flex; flex-direction: column; gap: 12px; }
.dc-listing-card {
    display: flex; gap: 14px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
    overflow: hidden;
}
.dc-listing-thumb {
    width: 90px; flex-shrink: 0;
    background-size: cover; background-position: center;
    background-color: #f3f4f6;
}
.dc-listing-no-thumb {
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #9ca3af;
}
.dc-listing-body  { flex: 1; padding: 14px 14px 14px 0; min-width: 0; }
.dc-listing-top   { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.dc-listing-top h4 { margin: 0; font-size: 15px; font-weight: 600; }
.dc-listing-cats  { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.dc-listing-meta  { font-size: 12px; color: #6b7280; margin: 2px 0; }
.dc-rejection-note { color: #b45309 !important; }
.dc-listing-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dc-btn-small { padding: 5px 12px !important; font-size: 12px !important; }
.dc-btn-danger { background: #dc2626 !important; color: #fff !important; border-color: #dc2626 !important; }
.dc-btn-danger:hover { background: #b91c1c !important; }

/* Conexiones sociales */
.dc-social-connection {
    display: flex; align-items: center; gap: 14px;
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 10px; padding: 16px;
    flex-wrap: wrap;
}
.dc-social-conn-info { flex: 1; min-width: 160px; }
.dc-social-conn-info strong { display: block; font-size: 15px; }
.dc-social-conn-info p { font-size: 12px; color: #6b7280; margin: 3px 0 0; }
.dc-social-conn-icon { font-size: 28px; }

/* Footer con botón de logout */
.dc-cuenta-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}
.dc-btn-logout {
    background: #fff !important;
    color: #dc2626 !important;
    border: 1.5px solid #dc2626 !important;
    font-weight: 600;
    text-decoration: none !important;
}
.dc-btn-logout:hover { background: #fef2f2 !important; }

/* Empty state */
.dc-empty-state { text-align: center; padding: 40px 20px; color: #6b7280; }

/* Responsive */
@media(max-width:600px) {
    .dc-cuenta-header { flex-direction: column; align-items: flex-start; }
    .dc-cuenta-stats  { width: 100%; justify-content: center; }
    .dc-listing-thumb { width: 70px; }
}

/* ── Horario grilla (v1.8) ── */
.dc-horario-grid { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; font-size: 14px; }
.dc-horario-head,
.dc-horario-row  { display: grid; grid-template-columns: 90px 60px 1fr 1fr; align-items: center; gap: 8px; padding: 8px 12px; }
.dc-horario-head { background: #f3f4f6; font-weight: 600; font-size: 12px; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.dc-horario-row  { border-top: 1px solid #f3f4f6; color: #9ca3af; }
.dc-horario-row.dc-hrow-active { color: #111827; background: #f8faff; }
.dc-horario-dia  { font-weight: 500; }
.dc-horario-check input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }
.dc-horario-select { padding: 4px 6px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; background: #fff; width: 100%; }
.dc-horario-select:disabled { background: #f9fafb; color: #9ca3af; cursor: not-allowed; }
.dc-hrow-active .dc-horario-select { border-color: #93c5fd; }

/* ── Contador descripción ── */
#dc-desc-count { font-weight: 700; transition: color .2s; }

/* ── Vista previa Google inline (Paso 1) ── */
.dc-seo-inline { margin-top: 16px; }

/* ── Botón Editar (v1.8) ── */
.dc-btn-edit { background:#2563eb !important; color:#fff !important; border-color:#2563eb !important; }
.dc-btn-edit:hover { background:#1d4ed8 !important; }
.dc-actions-cell { white-space:nowrap; }

/* ── Modal de edición ── */
.dc-edit-modal {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    z-index: 99999; pointer-events: none; opacity: 0;
    transition: opacity .2s;
}
.dc-edit-modal.dc-open { opacity: 1; pointer-events: auto; }
.dc-edit-inner {
    background: #fff; border-radius: 12px; padding: 28px;
    width: 100%; max-width: 640px; max-height: 90vh;
    overflow-y: auto; position: relative; z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.dc-edit-notice {
    background: #fef9c3; border: 1px solid #fde047;
    border-radius: 6px; padding: 10px 14px;
    font-size: 13px; color: #713f12; margin-bottom: 16px;
}
.dc-modal-footer {
    display: flex; justify-content: flex-end; gap: 10px;
    margin-top: 20px; padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}
