﻿/* ===================================
   TEXT DRAW WIDGET - Completando TU patrón
   =================================== */

.text-draw-widget-dialog {
    border-radius: var(--bs-border-radius-lg);
}

    .text-draw-widget-dialog .e-dlg-header {
        background: var(--bs-primary);
        color: var(--bs-white);
    }

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.stats-bar {
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 1rem;
    border-radius: var(--bs-border-radius);
    margin-bottom: 1rem;
}

.form-section, .mobile-section {
    background: var(--bs-light);
    padding: 1rem;
    border-radius: var(--bs-border-radius);
    margin-bottom: 1rem;
}

.section-title, .mobile-section-title {
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 0.5rem;
    display: block;
}

.quick-actions {
    background: var(--bs-tertiary-bg);
    padding: 0.75rem;
    border-radius: var(--bs-border-radius);
}

    .quick-actions button {
        padding: 0.25rem 0.5rem;
        border: 1px solid var(--bs-border-color);
        border-radius: var(--bs-border-radius);
        background: var(--bs-white);
        font-size: 0.75rem;
        cursor: pointer;
    }

        .quick-actions button:hover {
            background: var(--bs-primary);
            color: white;
            border-color: var(--bs-primary);
        }

.preview-section {
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    border-radius: var(--bs-border-radius);
    padding: 1rem;
    margin-top: 1rem;
}

.preview-container {
    background: var(--bs-tertiary-bg);
    padding: 1rem;
    border-radius: var(--bs-border-radius);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog-footer {
    padding: 1rem;
    background: var(--bs-light);
    border-top: 1px solid var(--bs-border-color);
}

.error-text {
    color: var(--bs-danger);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Responsive - igual que el tuyo */
@media (max-width: 991px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
    }

    .text-draw-widget-dialog {
        width: calc(100vw - 2rem) !important;
        max-height: calc(100vh - 4rem);
    }
}

@media (min-width: 992px) {
    .desktop-view {
        display: block;
    }

    .mobile-view {
        display: none;
    }
}
