﻿/* ==========================================================================
   FORMS, INPUTS & SELECTS CSS — Nexus Multi-Tenant Luxury Design System
   Arquivo fatiado < 135 linhas — Polimento visual de todos os campos
   ========================================================================== */

/* Universal Inputs & Textareas */
.search-input,
input[type="text"],
input[type="search"],
input[type="password"],
input[type="number"],
input[type="email"],
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-md) !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 500;
  padding: 10px 14px !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.search-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  font-size: 12.5px;
  font-weight: 400;
}

.search-input:hover,
input[type="text"]:hover,
input[type="search"]:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.search-input:focus,
input[type="text"]:focus,
input[type="search"]:focus,
textarea:focus {
  border-color: var(--gold-primary) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Luxury Select Dropdowns */
select.search-input,
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C5A059' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-md) !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 500;
  padding: 10px 36px 10px 14px !important;
  outline: none !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box;
}

select:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
}

select:focus {
  border-color: var(--gold-primary) !important;
  background-color: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2) !important;
}

select option {
  background: #111218;
  color: #ffffff;
  padding: 10px;
  font-size: 13px;
}

/* Polished Sidebar Tenant Select (Comando Master) */
select#tenantSelect {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(0, 0, 0, 0.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C5A059' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer;
  outline: none !important;
  padding: 7px 30px 7px 10px !important;
  transition: all 0.2s ease !important;
}

select#tenantSelect:hover,
select#tenantSelect:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.25) !important;
}

select#tenantSelect option {
  background: #14151e;
  color: #ffffff;
  padding: 8px 12px;
}

/* Form Labels & Helpers */
label.form-label,
.glass-card label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 4px;
}
