/* CSS específico para a página de novo-produto.html
  CORRIGIDO: Removido @apply e substituído por CSS padrão.
*/

:root {
    --dark: #272727;
    --dark-700: #3a3a3a;
    --dark-800: #1f1f1f;
    --primary: #B6FF1A;
    --text-light: #FDF4F6;
    --text-dark: #000000;
    --text-light-50: rgba(253, 244, 246, 0.5);
    --text-light-70: rgba(253, 244, 246, 0.7);
    --text-light-80: rgba(253, 244, 246, 0.8);
    --text-light-30: rgba(253, 244, 246, 0.3);
}

.form-label {
    display: block;
    font-size: 0.875rem; /* 14px */
    line-height: 1.25rem; /* 20px */
    font-weight: 500;
    color: var(--text-light-80);
    margin-bottom: 0.5rem; /* 8px */
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem; /* 12px 16px */
    background-color: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: 0.5rem; /* 8px */
    color: var(--text-light);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control::placeholder {
    color: var(--text-light-30);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(182, 255, 26, 0.3);
}

.form-help {
    font-size: 0.75rem; /* 12px */
    line-height: 1rem; /* 16px */
    color: var(--text-light-50);
    margin-top: 0.5rem; /* 8px */
}

.file-input {
    display: block;
    width: 100%;
    font-size: 0.875rem; /* 14px */
    color: var(--text-light-70);
}

.file-input::file-selector-button {
    margin-right: 1rem; /* 16px */
    padding: 0.5rem 1rem; /* 8px 16px */
    border-radius: 0.5rem; /* 8px */
    border: 0;
    font-size: 0.875rem; /* 14px */
    font-weight: 700;
    background-color: var(--primary);
    color: var(--text-dark);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.file-input::file-selector-button:hover {
    transform: scale(1.05);
}


/* Controle Segmentado (para Alinhamento e Categoria) */
.segmented-control {
    display: flex;
    width: 100%;
    background-color: var(--dark-800);
    border-radius: 0.5rem; /* 8px */
    padding: 0.25rem; /* 4px */
    border: 1px solid var(--dark-700);
}

.segmented-control input[type="radio"] {
    display: none; /* Esconde o rádio real */
}

.segmented-control label {
    flex: 1;
    text-align: center;
    padding: 0.625rem 1rem; /* 10px 16px */
    border-radius: 0.375rem; /* 6px */
    font-size: 0.875rem; /* 14px */
    font-weight: 700;
    color: var(--text-light-70);
    cursor: pointer;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.segmented-control label:hover {
    background-color: var(--dark-700);
}

.segmented-control input[type="radio"]:checked + label {
    background-color: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.segmented-control label.disabled {
    color: var(--text-light-30);
    cursor: not-allowed;
}

.segmented-control label.disabled:hover {
    background-color: transparent;
}

.segmented-control input[type="radio"]:checked + label.disabled {
    background-color: var(--dark-700);
    color: var(--text-light-30);
    cursor: not-allowed;
    box-shadow: none;
}


/* Estilização do Input Range (Slider) */
.form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 0.5rem; /* 8px */
    background-color: var(--dark-800);
    border-radius: 0.5rem; /* 8px */
    cursor: pointer;
}

/* Estilo do "polegar" (thumb) do slider para Webkit (Chrome, Safari) */
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem; /* 20px */
    height: 1.25rem; /* 20px */
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin-top: -0.375rem; /* Centraliza o polegar no trilho */
    transition: transform 0.2s ease;
}

.form-range:active::-webkit-slider-thumb {
    transform: scale(1.25);
}

/* Estilo do "polegar" (thumb) do slider para Firefox */
.form-range::-moz-range-thumb {
    width: 1.25rem; /* 20px */
    height: 1.25rem; /* 20px */
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.form-range:active::-moz-range-thumb {
    transform: scale(1.25);
}