/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 10px 35px 35px 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}
.btn-primary:hover, .btn-primary:visited { color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); }

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border-gray);
}
.btn-secondary:hover { border-color: var(--navy); }

.btn-ghost {
    background: transparent;
    color: var(--text-gray);
    padding: 0.9rem 1.2rem;
}
.btn-ghost:hover { color: var(--navy); }

.btn-row {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
    align-items: center;
}

.btn-row .btn-ghost { margin-right: auto; }

/* ===== Cards ===== */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 2px 16px rgba(10, 31, 68, 0.06);
}

/* ===== Form elements ===== */
.fg {
    margin-bottom: 1.5rem;
}

.fg label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.fg input, .fg textarea, .fg select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.fg input:focus, .fg textarea:focus, .fg select:focus {
    outline: none;
    border-color: var(--orange);
}

.fg textarea { resize: vertical; min-height: 80px; }

.fg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.fg .hint {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.3rem;
}

/* ===== Chips ===== */
.chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    border: 2px solid var(--border-gray);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    font-family: inherit;
    background: var(--white);
    color: var(--navy);
}

.chip:hover { border-color: var(--orange); }

.chip.sel {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

/* ===== Toggle switch ===== */
.toggle-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border-gray);
    border-radius: 26px;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle input:checked + .toggle-slider {
    background: var(--orange);
}

.toggle input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

/* ===== Nikki avatar block ===== */
.nikki {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.nikki-av {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange);
}

.nikki-lg .nikki-av {
    width: 72px;
    height: 72px;
}

.nikki-n { font-weight: 600; }
.nikki-r { font-size: 0.85rem; color: var(--text-gray); }

/* ===== Dropzone ===== */
.dropzone {
    border: 2px dashed var(--border-gray);
    border-radius: 16px;
    padding: 1rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-gray);
}

.dropzone:hover, .dropzone.drag-over {
    border-color: var(--orange);
    background: rgba(244, 123, 37, 0.04);
}

.dropzone .dz-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.dropzone .dz-text { font-size: 0.95rem; }
.dropzone .dz-hint { font-size: 0.8rem; margin-top: 0.3rem; }

.dropzone.has-file {
    border-color: var(--green);
    background: rgba(39, 174, 96, 0.04);
    color: var(--green);
}

/* ===== Quantity selector ===== */
.qty-sel {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--light-gray);
    border-radius: 50px;
    padding: 0.3rem;
}

.qty-sel button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-sel span {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
}

/* ===== Age range slider ===== */
.range-wrap {
    position: relative;
    height: 40px;
    margin: 1rem 0 0.5rem;
}

.range-wrap input[type="range"] {
    position: absolute;
    width: 100%;
    top: 0;
    height: 40px;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    pointer-events: none;
    border: none;
    padding: 0;
}

.range-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--orange);
    cursor: pointer;
    pointer-events: all;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--border-gray);
    border-radius: 3px;
    transform: translateY(-50%);
}

.range-fill {
    position: absolute;
    top: 50%;
    height: 6px;
    background: var(--orange);
    border-radius: 3px;
    transform: translateY(-50%);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.range-labels strong { color: var(--navy); }

@media (max-width: 768px) {
    .card { padding: 1.5rem; }
    .fg-row { grid-template-columns: 1fr; }
    .btn-row { flex-direction: column; }
    .btn-row .btn { width: 100%; }
}
