/* Autors: Raivis Rampāns
   Izveidots: 22.05.2026
   Mainīts : 24.05.2026 */

/* =========================
   NUMBER INPUT
========================= */

.dark-number-input {
    background: rgba(15, 23, 42, 0.92);
    color: #f3e8ff;

    border: 1px solid rgba(168, 85, 247, 0.35);

    border-radius: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.dark-number-input:focus {
    outline: none;

    border-color: rgba(192, 132, 252, 0.9);

    box-shadow:
        0 0 0 3px rgba(168, 85, 247, 0.22);

    background: rgba(30, 41, 59, 0.96);
}

/* Remove Chrome & Edge arrows */
.dark-number-input::-webkit-inner-spin-button,
.dark-number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove Firefox arrows */
.dark-number-input[type=number] {
    -moz-appearance: textfield;
}

/* =========================
   TEXTAREA
========================= */

.dark-textarea {
    background: rgba(15, 23, 42, 0.92);
    color: #f3e8ff;

    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 16px;

    padding: 16px 18px;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    box-shadow:
        inset 0 2px 12px rgba(0, 0, 0, 0.35);
}

.dark-textarea::placeholder {
    color: rgba(243, 232, 255, 0.45);
}

.dark-textarea:focus {
    outline: none;

    border-color: rgba(192, 132, 252, 0.9);

    box-shadow:
        0 0 0 4px rgba(168, 85, 247, 0.22),
        inset 0 2px 12px rgba(0, 0, 0, 0.35);

    background: rgba(30, 41, 59, 0.96);
}

/* =========================
   FILE INPUT
========================= */

.dark-file-input {
    width: 100%;

    background: rgba(15, 23, 42, 0.92);
    color: #f3e8ff;

    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 16px;

    padding: 12px 14px;

    font-size: 17px;
    font-weight: 600;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.dark-file-input:focus-within {
    border-color: rgba(192, 132, 252, 0.9);

    box-shadow:
        0 0 0 4px rgba(168, 85, 247, 0.22);

    background: rgba(30, 41, 59, 0.96);
}

.dark-file-input::file-selector-button {
    border: none;
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(147, 51, 234, 0.98),
            rgba(109, 40, 217, 0.98)
        );

    color: white;

    padding: 10px 18px;
    margin-right: 16px;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.dark-file-input::file-selector-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 0 18px rgba(168, 85, 247, 0.35);
}