/* =============================== */
/* ✏️ NXAdmin Form Elements Styling */
/* =============================== */

.nx-form-group {
    margin-bottom: 16px;
}

.nx-input, .nx-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #4facfe;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
}

.nx-input::placeholder, .nx-textarea::placeholder {
    color: #ccc;
}

.nx-textarea {
    min-height: 80px;
    resize: vertical;
}

/* 🌟 Toggle Switch */
.nx-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.nx-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.nx-switch input:checked + .slider {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.nx-switch input:checked + .slider:before {
    transform: translateX(26px);
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-label {
    color: #fff;
    font-weight: 500;
}

/* =============================== */
/* 🎨 NXAdmin Select Dropdown Styling */
/* =============================== */
.nx-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #4facfe;
    background-color: #2c2f5a;
    color: #fff;
    font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='16' viewBox='0 0 24 24' width='16'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nx-select option[value=""] {
    color: #bbb;
}

.nx-select:focus {
    border-color: #00f2fe;
    box-shadow: 0 0 6px rgba(0, 242, 254, 0.4);
    outline: none;
}