﻿/* ===================================
   L-SHAPE WIDGET - Styles (agregar a SimpleCADPage.css)
   =================================== */

.lshape-draw-widget {
    position: fixed;
    width: 420px;
    background: var(--bs-white);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .lshape-draw-widget.visible {
        opacity: 1;
        visibility: visible;
    }

.lshape-preview-section {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bs-light);
    border-radius: var(--bs-border-radius);
}

.preview-title {
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.lshape-preview {
    display: flex;
    justify-content: center;
}

    .lshape-preview svg {
        border: 1px solid var(--bs-border-color);
        border-radius: var(--bs-border-radius);
        background: var(--bs-white);
    }

.preview-label {
    font-size: 10px;
    font-weight: 600;
    fill: var(--bs-primary);
}

.input-group.readonly {
    background: var(--bs-tertiary-bg);
    border-radius: var(--bs-border-radius);
    padding: 0.75rem;
}

    .input-group.readonly label {
        color: var(--bs-secondary);
    }

.quick-fractions {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

    .quick-fractions 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-fractions button:hover {
            background: var(--bs-primary);
            color: white;
        }


.flip-controls {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg);
    border-radius: var(--bs-border-radius);
}

.flip-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.flip-btn {
    padding: 0.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    background: var(--bs-white);
    cursor: pointer;
    font-size: 0.875rem;
}

    .flip-btn.active {
        background: var(--bs-primary);
        color: white;
    }

    .flip-btn:hover {
        background: var(--bs-light);
    }

    .flip-btn.active:hover {
        background: var(--bs-primary);
    }


