/* art-department.css */

.studio-preview.portrait {
    max-width: 450px;
}
.studio-preview.box {
    max-width: 550px;
}
.studio-preview.landscape {
    max-width: none;
}

.studio-creator-container {
    display: flex;
    gap: 32px;
    color: #fff;
    align-items: flex-start;
}
.studio-controls {
    flex: 1 1 350px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #181818;
    border-radius: 12px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.3);
}
.studio-controls label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #bbb;
}
.studio-controls input[type="text"],
.studio-controls select {
    width: 100%;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 1rem;
    margin-bottom: 8px;
}

.studio-button {
    width:40px; 
    height:40px;
}

.studio-controls .image-type-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}
.studio-controls .image-type-toggle button {
    flex: 1 1 0;
    border: 1.5px solid #444;
    background: #232323;
    color: #fff;
    border-radius: 8px;
    padding: 8px 0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background 0.15s, border 0.15s, color 0.15s;
}
.studio-controls .image-type-toggle button.active {
    border-color: #90C3C8;
    background: #232323;
    color: #90C3C8;
}

.studio-controls .controls-group {
    display: flex; 
    align-items: top; 
    gap: 7px;
    margin-top: 22px;
}


.studio-controls .slider-group {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 22px;
}
.studio-controls .slider-group input[type="range"] {
    flex: 1 1 0;
}
.studio-controls .slider-group input[type="number"] {
    width: 60px;
    background: #232323;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 1rem;
}
.studio-controls .color-input {
    background: #232323;
    max-width:50px; 
    min-width:50px; 
    width: 50px;
    height:40px;
}
.studio-preview {
    flex: 2 1 0;
    min-width: 320px;
    background: #111;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.3);
}
.studio-preview-inner {
    width: 100%;
    /* aspect-ratio set dynamically by JS */
    background: #181818;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-preview-inner .studio-placeholder-message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6%;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1.1;
    font-size: clamp(22px, 3.4vw, 60px);
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
    color: #ffffff10;
    text-shadow: 0 0 18px rgba(255,255,255,0.08), 0 0 4px rgba(255,255,255,0.12);
    z-index: 2;
}

.studio-preview .image-upload {
    margin: 24px auto 0 auto;
    max-width: 320px;
    width: 100%;
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
}
.studio-preview .studio-bg {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* No brightness filter, rely on overlay for dimming */
    filter: none;
    transition: none;
}
.studio-preview .studio-dim {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--dim-color, rgba(0,0,0,0.5));
    opacity: var(--bg-dim, 0.5);
    z-index: 2;
    pointer-events: none;
    transition: background 0.2s, opacity 0.2s;
}
.studio-preview .studio-gradient {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.studio-preview .studio-title {
    position: absolute;
    font-size: var(--title-size, 6vw);
    font-family: var(--title-font, 'Inter', sans-serif);
    font-weight: 800;
    color: var(--title-color, #fff);
    letter-spacing: 1px;
    z-index: 3;
    white-space: pre-line;
    line-height: 1.1;
}

.accordian-checkbox {
    padding-top: 0;
    margin-left: 18px;
    margin-top: -5px;
}

#studio-gradient-controls.horizontal .gradient-rotatable {
    transform: rotate(-90deg);
}