/* Vieww Directory — Admin Styles */

/* Relabel the WP title field for clarity */
#titlediv #title-prompt-text::before {
    content: 'Business Name';
}
#titlediv #title-prompt-text {
    font-size: 14px;
}

/* Hide the slug/permalink row — handled by WP automatically */
#edit-slug-box { display: none !important; }

/* Hide the WP editor — we use the About meta box instead.
   Editor support stays registered so Element Pack Pro detects the CPT. */
#postdivrich,
.editor-styles-wrapper,
.edit-post-visual-editor { display: none !important; }

.viewwdi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 2px 0;
}

.viewwdi-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.viewwdi-field.span2 { grid-column: 1 / -1; }

.viewwdi-field label {
    font-size: 12px;
    font-weight: 600;
    color: #3c434a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.viewwdi-hint {
    font-size: 11px;
    font-weight: 400;
    color: #8c8f94;
    text-transform: none;
    letter-spacing: 0;
    font-style: italic;
}

.viewwdi-field input[type="text"],
.viewwdi-field input[type="email"],
.viewwdi-field input[type="url"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.viewwdi-field input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Gallery thumbs */
.viewwdi-gallery-thumb {
    cursor: grab;
}

.viewwdi-gallery-thumb img {
    display: block;
}

#viewwdi-logo-preview {
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}
