/* =================================================================
   ADD SHADOW TOOL STYLES
   ================================================================= */

.shadow-preview-card {
    animation: fadeIn 0.3s ease-out;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.shadow-preview-stage {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

#preview-canvas {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    box-shadow: none;
    background: transparent;
}

.shadow-control-stack {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.shadow-color-row input[type="color"] {
    width: 48px;
    height: 38px;
}

.shadow-file-settings {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.35rem;
    color: var(--light-text);
    font-size: 0.76rem;
}

.shadow-settings-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.48rem;
    border-radius: 999px;
    background: rgba(91, 141, 239, 0.12);
    color: var(--primary-color);
    font-weight: 700;
}

.shadow-settings-pill.is-unlocked {
    background: rgba(16, 185, 129, 0.12);
    color: #0f9f6e;
}

@media (max-width: 768px) {
    #preview-canvas {
        max-height: 440px;
    }
}

@media (max-width: 600px) {
    .shadow-file-settings {
        flex-direction: column;
        gap: 0.25rem;
    }

    .shadow-color-row {
        align-items: flex-start;
    }
}