/* Estilos customizados para o sistema MLM - Tema Preto e Dourado */
:root {
    --cor-preto: #000000;
    --cor-preto-suave: #1a1a1a;
    --cor-dourado: #D4AF37;
    --cor-dourado-brilhante: #FFD700;
    --cor-dourado-escuro: #B8860B;
    --cor-dourado-claro: #F4E4BC;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
input[type="date"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    background: #1a1a1a;
    color: #ffffff;
    transition: all 0.3s;
    box-sizing: border-box;
}

/* Estilos modernos para campos de data */
input[type="date"] {
    position: relative;
    padding: 12px 45px 12px 12px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.5px;
}

input[type="date"]:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
}

input[type="date"]:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2), 0 0 15px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
}

/* Estilizar o seletor de data nativo */
input[type="date"]::-webkit-calendar-picker-indicator {
    background-color: #D4AF37;
    color: #000000;
    cursor: pointer;
    border-radius: 4px;
    padding: 5px;
    margin-right: 5px;
    opacity: 0.8;
    transition: all 0.3s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background-color: #FFD700;
    transform: scale(1.1);
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Para Firefox */
input[type="date"]::-moz-calendar-picker-indicator {
    background-color: #D4AF37;
    color: #000000;
    cursor: pointer;
    border-radius: 4px;
    padding: 5px;
    opacity: 0.8;
    transition: all 0.3s;
}

input[type="date"]::-moz-calendar-picker-indicator:hover {
    opacity: 1;
    background-color: #FFD700;
}

/* Wrapper para campo de data com ícone personalizado */
.date-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.date-input-wrapper::after {
    content: '\F4E5';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #D4AF37;
    pointer-events: none;
    font-size: 18px;
    z-index: 1;
    opacity: 0.9;
    transition: all 0.3s;
}

.date-input-wrapper:hover::after {
    color: #FFD700;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.date-input-wrapper input[type="date"] {
    padding-right: 50px;
}

/* Override for create user form - no margin-bottom since form-row handles spacing */
.create-user-form .form-row input[type="email"],
.create-user-form .form-row input[type="password"],
.create-user-form .form-row input[type="text"],
.create-user-form .form-row input[type="number"],
.create-user-form .form-row input[type="date"],
.create-user-form .form-row select {
    margin-bottom: 0;
}

.password-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
    width: 100%;
    padding-right: 45px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.toggle-password-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #D4AF37;
    cursor: pointer;
    padding: 8px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: none;
}

.toggle-password-btn:hover {
    color: #FFD700;
    background: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: none;
}

.toggle-password-btn:focus {
    outline: 2px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

.toggle-password-btn i {
    font-size: 18px;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    background: #000000;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

button:hover {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

a {
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

#matrix-container {
    padding: 10px;
    border: 1px solid #eee;
    margin-top: 10px;
}

.user-node {
    margin-left: 20px;
    padding: 5px;
}
.user-node.inactive {
    color: #aaa;
}

/* User Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.header-content h2 {
    margin: 0 0 5px 0;
    color: #D4AF37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.welcome-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.logout-btn {
    width: auto;
    padding: 8px 20px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    font-size: 14px;
    color: white;
}

.logout-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    transform: translateY(-2px);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
    color: #D4AF37;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
}

.stat-card:nth-child(2) {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.stat-card:nth-child(3) {
    border-color: rgba(184, 134, 11, 0.4);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    border-color: #D4AF37;
}

.stat-icon {
    font-size: 40px;
    line-height: 1;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.stat-content h3 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.7);
}

.stat-value {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.dashboard-section {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.dashboard-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #D4AF37;
    font-size: 22px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.referral-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.referral-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.referral-input {
    flex: 1;
    padding: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    font-size: 14px;
    background-color: #1a1a1a;
    color: #ffffff;
}

.referral-input:focus {
    outline: none;
    border-color: #D4AF37;
    background-color: #000000;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.copy-btn {
    width: auto;
    padding: 12px 24px;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #000000;
    white-space: nowrap;
    font-size: 14px;
    font-weight: bold;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.referral-hint {
    margin: 10px 0 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-style: italic;
}

.commissions-by-generation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.generation-commission {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
}

.generation-commission:hover {
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.gen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.gen-label {
    font-weight: 600;
    color: #D4AF37;
    font-size: 14px;
}

.gen-value {
    font-weight: bold;
    color: #FFD700;
    font-size: 18px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.gen-detail {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.matrix-wrapper {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    min-height: 200px;
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* Admin Dashboard Styles */
#admin-dashboard-view {
    max-width: 100%;
}

#admin-dashboard-view .dashboard-header {
    margin-bottom: 30px;
}

#admin-dashboard-view h2 {
    margin-bottom: 20px;
    color: #D4AF37;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

#admin-dashboard-view h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #D4AF37;
    font-size: 20px;
    font-weight: 600;
}

/* Admin Tabs Styles */
.admin-tabs {
    margin-top: 20px;
}

.admin-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.admin-tab-btn {
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.admin-tab-btn:hover {
    color: #FFD700;
    background: rgba(212, 175, 55, 0.1);
}

.admin-tab-btn.active {
    color: #D4AF37;
    border-bottom-color: #D4AF37;
    font-weight: 600;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

/* User Tabs Styles */
.user-tabs {
    margin-top: 20px;
}

.user-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.user-tab-btn {
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.user-tab-btn:hover {
    color: #FFD700;
    background: rgba(212, 175, 55, 0.1);
}

.user-tab-btn.active {
    color: #D4AF37;
    border-bottom-color: #D4AF37;
    font-weight: 600;
}

.user-tab-content {
    display: none;
}

.user-tab-content.active {
    display: block;
}

#admin-dashboard-view hr {
    margin: 30px 0;
    border: none;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

#admin-dashboard-view .dashboard-section {
    margin-bottom: 30px;
}

/* Create User Form Styles */
.form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.form-header h3 {
    margin: 0 0 10px 0;
    color: #D4AF37;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header h3 i {
    font-size: 28px;
}

.form-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-style: italic;
}

.create-user-form {
    max-width: 1000px;
}

.form-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    transition: all 0.3s;
}

.form-section:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.section-header i {
    font-size: 20px;
    color: #D4AF37;
}

.section-header h4 {
    margin: 0;
    color: #D4AF37;
    font-size: 18px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.create-user-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.create-user-form .form-group.full-width {
    grid-column: 1 / -1;
}

.create-user-form .form-group label {
    color: #D4AF37;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.create-user-form .form-group .required {
    color: #ff4444;
    font-size: 14px;
}

.create-user-form input[type="text"],
.create-user-form input[type="email"],
.create-user-form input[type="password"],
.create-user-form input[type="date"],
.create-user-form input[type="number"],
.create-user-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.create-user-form input[type="text"]:focus,
.create-user-form input[type="email"]:focus,
.create-user-form input[type="password"]:focus,
.create-user-form input[type="date"]:focus,
.create-user-form input[type="number"]:focus,
.create-user-form select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    background: #000000;
}

/* Ajustar wrapper de data dentro do formulário de criação */
.create-user-form .date-input-wrapper {
    margin-bottom: 0;
}

.create-user-form .date-input-wrapper::after {
    right: 12px;
}

.create-user-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.create-user-form select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.submit-btn-primary {
    padding: 14px 30px;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
}

.submit-btn-primary:hover {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.submit-btn-primary i {
    font-size: 18px;
}

.reset-btn {
    padding: 14px 30px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
}

.reset-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    color: #D4AF37;
    transform: translateY(-2px);
}

.reset-btn i {
    font-size: 18px;
}

/* Old admin-create-user-form styles removed - using new create-user-form styles */

/* Admin Users List Styles */
.admin-users-filters {
    margin-bottom: 25px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.admin-users-filters .filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: flex-end;
}

.admin-users-filters .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-users-filters .filter-group label {
    color: #D4AF37;
    font-size: 13px;
    font-weight: 600;
}

.admin-users-filters .filter-group input[type="text"],
.admin-users-filters .filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s;
}

.admin-users-filters .filter-group input[type="text"]:focus,
.admin-users-filters .filter-group select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.users-table-wrapper {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: transparent;
    min-width: 1000px;
}

.users-table thead {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #D4AF37;
    border-bottom: 2px solid #D4AF37;
    position: sticky;
    top: 0;
    z-index: 10;
}

.users-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.users-table th i {
    margin-right: 8px;
    font-size: 16px;
}

.users-table td {
    padding: 16px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    vertical-align: middle;
}

.users-table tbody tr:last-child td {
    border-bottom: none;
}

.users-table tbody tr {
    transition: all 0.2s;
}

.users-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.1);
    transform: scale(1.01);
}

.user-name-cell {
    min-width: 200px;
}

.user-name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name-wrapper strong {
    color: #ffffff;
    font-size: 15px;
}

.user-id {
    font-size: 11px;
    color: rgba(212, 175, 55, 0.6);
    font-weight: normal;
}

.email-cell {
    color: rgba(255, 255, 255, 0.8);
    word-break: break-word;
    max-width: 250px;
}

.date-cell {
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.user-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.user-type-badge i {
    font-size: 14px;
}

.user-type-admin {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: #ffffff;
}

.user-type-investidor {
    background: linear-gradient(135deg, #006400 0%, #228B22 100%);
    color: #ffffff;
}

.user-type-indicado {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.status-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.status-active i {
    font-size: 14px;
}

.status-inactive {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #ffffff;
    border: 1px solid rgba(108, 117, 125, 0.3);
    font-size: 12px;
    font-weight: 600;
}

.status-inactive i {
    font-size: 14px;
}

.actions-cell {
    white-space: nowrap;
    min-width: 200px;
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.admin-action-btn i {
    font-size: 14px;
}

.admin-action-btn.btn-edit {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #000000;
}

.admin-action-btn.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
}

.admin-action-btn.btn-activate {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
}

.admin-action-btn.btn-activate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

.admin-action-btn.btn-deactivate {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
}

.admin-action-btn.btn-deactivate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.admin-action-btn:disabled {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transform: none !important;
}

/* Pagination Styles */
.pagination-container {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #FFD700;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(212, 175, 55, 0.4);
    border-color: #D4AF37;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border-color: #D4AF37;
    color: #000000;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
}

.pagination-ellipsis {
    color: rgba(255, 255, 255, 0.6);
    padding: 0 5px;
    font-weight: 600;
}

.pagination-per-page {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.pagination-per-page-select {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #FFD700;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-per-page-select:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #D4AF37;
}

.pagination-per-page-select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37 0%, #FFD700 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFD700 0%, #D4AF37 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    #app {
        max-width: 100%;
    }

    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    #app {
        padding: 15px;
        max-width: 100%;
        border-radius: 8px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 15px;
    }

    .header-content h2 {
        font-size: 22px;
    }

    .logout-btn {
        width: 100%;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-icon {
        font-size: 30px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-content h3 {
        font-size: 13px;
    }

    .dashboard-section {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .dashboard-section h3 {
        font-size: 18px;
    }

    .referral-section {
        padding: 15px;
    }

    .referral-input-group {
        flex-direction: column;
    }

    .copy-btn {
        width: 100%;
    }

    .matrix-wrapper {
        border-radius: 8px;
    }

    #admin-users-list {
        overflow-x: auto;
    }

    #admin-users-list table {
        font-size: 12px;
        min-width: 600px;
    }

    #admin-users-list table th,
    #admin-users-list table td {
        padding: 8px;
    }

    .admin-action-btn {
        padding: 4px 8px;
        font-size: 11px;
        margin-right: 3px;
    }

    /* Mobile layout for Saques table - transform to cards */
    #admin-saques-list {
        overflow-x: visible;
    }

    #admin-saques-list table,
    #admin-saques-list thead,
    #admin-saques-list tbody,
    #admin-saques-list th,
    #admin-saques-list td,
    #admin-saques-list tr {
        display: block;
    }

    #admin-saques-list thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #admin-saques-list tr {
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
    }

    #admin-saques-list td {
        border: none;
        position: relative;
        padding: 10px 0;
        padding-left: 50%;
        text-align: left;
    }

    #admin-saques-list td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 600;
        color: #D4AF37;
        font-size: 13px;
    }

    #admin-saques-list td.actions-cell {
        padding-left: 0;
        padding-top: 15px;
        margin-top: 10px;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    #admin-saques-list td.actions-cell:before {
        display: none;
    }

    #admin-saques-list td.actions-cell .admin-action-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        margin-right: 0;
    }

    /* Mobile layout for Saques filters */
    .admin-saques-filters {
        padding: 15px;
    }

    .admin-saques-filters .filter-row {
        flex-direction: column;
        gap: 15px;
    }

    .admin-saques-filters .filter-group {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    #app {
        padding: 10px;
        border-radius: 6px;
    }

    .dashboard-header {
        margin-bottom: 20px;
    }

    .dashboard-header h2 {
        font-size: 18px;
    }

    .welcome-text {
        font-size: 13px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        gap: 10px;
    }

    .stat-icon {
        font-size: 32px;
    }

    .stat-content h3 {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .stat-value {
        font-size: 18px;
    }

    .dashboard-section {
        padding: 12px;
        margin-bottom: 15px;
    }

    .dashboard-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .referral-section {
        padding: 12px;
    }

    .referral-hint {
        font-size: 12px;
    }

    /* Extra small mobile adjustments for Saques */
    #admin-saques-list tr {
        padding: 12px;
        margin-bottom: 12px;
    }

    #admin-saques-list td {
        padding: 8px 0;
        padding-left: 45%;
        font-size: 13px;
    }

    #admin-saques-list td:before {
        width: 40%;
        font-size: 12px;
    }

    #admin-saques-list td.actions-cell {
        padding-top: 12px;
        margin-top: 8px;
    }

    #admin-saques-list td.actions-cell .admin-action-btn {
        padding: 10px;
        font-size: 13px;
    }

    .admin-saques-filters {
        padding: 12px;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="number"] {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }

    button {
        padding: 12px;
        font-size: 16px;
    }

    #login-view h2,
    #register-view h2 {
        font-size: 20px;
    }
}

/* Login and Register Views */
#login-view,
#register-view {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    max-width: 400px;
    margin: 0 auto;
}

#login-view h2,
#register-view h2 {
    color: #D4AF37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    margin-bottom: 20px;
}

#login-view p,
#register-view p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
}

#login-view a,
#register-view a {
    color: #FFD700;
    font-weight: 600;
}

#login-view a:hover,
#register-view a:hover {
    color: #D4AF37;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Sponsor Invite Box */
.sponsor-invite-box {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    margin-bottom: 25px;
    text-align: center;
}

.sponsor-invite-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0 0 10px 0;
}

.sponsor-name {
    color: #FFD700;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    letter-spacing: 1px;
}

/* Modal de Renovação */
#renewal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.renewal-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
    margin: auto;
    position: relative;
}

.renewal-modal-content h3 {
    color: #D4AF37;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    font-size: 20px;
}

.renewal-modal-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 10px 0;
}

.renewal-modal-content .warning-text {
    color: #ff9800;
    font-weight: 600;
}

.pix-payment-info {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.pix-payment-info p {
    margin: 8px 0;
}

.pix-payment-info strong {
    color: #FFD700;
}

#pix-code-text {
    color: #ffffff !important;
    font-family: 'Courier New', monospace !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    word-break: break-all;
}

#pix-qrcode-image {
    max-width: 180px !important;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

#pix-qrcode-loading {
    color: #D4AF37;
    padding: 20px;
}

#perfume-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
    padding: 20px;
}

/* Modal Styles */
#edit-user-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

#edit-user-modal .modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

#perfume-info-modal .modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    max-width: 520px;
    margin: 50px auto;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

#edit-user-modal h3 {
    color: #D4AF37;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

#perfume-info-modal h3 {
    color: #D4AF37;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

#perfume-info-body {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    white-space: pre-wrap;
}

#perfume-info-body.perfume-warning {
    border-color: rgba(255, 152, 0, 0.35);
}

#edit-user-modal h4 {
    color: #FFD700;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 5px;
}

#edit-user-modal form input,
#edit-user-modal form select {
    width: 100%;
    margin-bottom: 10px;
}

#edit-user-modal form input[type="file"] {
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    color: #fff;
}

#edit-user-modal #edit-documentos-list {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    max-height: 150px;
    overflow-y: auto;
}

#edit-user-modal #edit-documentos-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#edit-user-modal #edit-documentos-list li {
    padding: 5px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

#edit-user-modal .modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#perfume-info-modal .modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

#edit-user-modal .modal-buttons button {
    flex: 1;
}

#edit-user-modal #upload-documento-btn {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Withdrawal (Trocar Pontos) Styles */
.withdrawal-info {
    margin-bottom: 30px;
}

.info-card {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.info-card h4 {
    margin: 0 0 10px 0;
    color: #D4AF37;
    font-size: 16px;
    font-weight: 600;
}

.available-balance {
    font-size: 32px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #D4AF37;
    font-weight: 600;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    background: #000000;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #000000;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

#withdrawal-history {
    margin-top: 20px;
}

#withdrawal-history table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

#withdrawal-history table thead {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

#withdrawal-history table th {
    padding: 12px;
    text-align: left;
    color: #D4AF37;
    font-weight: 600;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

#withdrawal-history table td {
    padding: 12px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

#withdrawal-history table tbody tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

.status-pending {
    color: #FFA500;
    font-weight: 600;
}

.status-active {
    color: #28a745;
    font-weight: 600;
}

.status-inactive {
    color: #dc3545;
    font-weight: 600;
}

/* Info, Warning and Success boxes */
.info-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.info-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1px solid rgba(255, 165, 0, 0.4);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    color: #FFA500;
}

.warning-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.success-box {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 1px solid rgba(40, 167, 69, 0.4);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    color: #28a745;
}

.success-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.success-box p:last-child {
    margin-bottom: 0;
}

.pix-status {
    margin-top: 15px;
}

/* Admin Saques Management */
.admin-saques-filters {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Saques Table Wrapper */
#admin-saques-list {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow-x: auto;
}

#admin-saques-list table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: transparent;
    min-width: 800px;
}

#admin-saques-list table thead {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #D4AF37;
    border-bottom: 2px solid #D4AF37;
}

#admin-saques-list table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

#admin-saques-list table td {
    padding: 16px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    vertical-align: middle;
}

#admin-saques-list table tbody tr:last-child td {
    border-bottom: none;
}

#admin-saques-list table tbody tr {
    transition: all 0.2s;
}

#admin-saques-list table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    color: #D4AF37;
    font-size: 13px;
    font-weight: 600;
}

.admin-saques-filters select,
.admin-saques-filters input[type="text"] {
    padding: 10px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s;
}

.admin-saques-filters select:focus,
.admin-saques-filters input[type="text"]:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    background: #000000;
}

.admin-saques-filters select {
    cursor: pointer;
}

.admin-saques-filters select option {
    background: #1a1a1a;
    color: #ffffff;
}

.saque-details-info {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.saque-details-info p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.saque-details-info strong {
    color: #D4AF37;
    margin-right: 8px;
}

.saque-details-info a {
    color: #FFD700;
    text-decoration: underline;
}

.saque-details-info a:hover {
    color: #D4AF37;
}

#comprovante-preview img {
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 5px;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
}

textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    background: #000000;
}