/* Violet theme for all main components */
body {
    background: linear-gradient(120deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #f3f4f6;
    font-family: 'Manrope', sans-serif;
    min-height: 100vh;
}
.navbar, .footer, .sidebar, .banner, .modal, .profile-info, .table, .product-card, .dropdown, .select-container, .recharge-panel, .form, .empty-box {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(75,0,110,0.15);
}
.navbar {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 16px 32px;
    box-shadow: 0 2px 8px rgba(75,0,110,0.2);
}
.footer {
    padding: 32px 10px 10px;
    text-align: center;
    font-size: 14px;
    color: #e0e0e0;
    background: linear-gradient(90deg, #2c0d4b 60%, #6a3fb5 100%);
}
.banner {
    margin-top: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(75,0,110,0.18);
}
.sidebar {
    padding: 24px 16px;
    min-width: 220px;
    background: linear-gradient(135deg, #3a0f5f 0%, #8a5fdc 100%);
    color: #fff;
}
.modal {
    box-shadow: 0 8px 32px rgba(75,0,110,0.25);
    border-radius: 20px;
    padding: 32px;
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #fff;
}
input, textarea, select {
    background: #3a0f5f;
    color: #fff;
    border: 1px solid #6a3fb5;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 16px;
    transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
    border: 2px solid #8a5fdc;
    outline: none;
}
.product-card {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(75,0,110,0.18);
    transition: transform 0.3s;
}
.product-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 24px rgba(138, 95, 220, 0.3);
}
.dropdown, .select-container {
    background: linear-gradient(135deg, #3a0f5f 0%, #8a5fdc 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(75,0,110,0.15);
}
.form, .empty-box {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(75,0,110,0.15);
}

/* Violet theme for all main buttons */
.auth-btn,
.profile-btn,
.balance-btn {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    cursor: pointer;
}
.auth-btn:hover,
.profile-btn:hover,
.balance-btn:hover {
    background: linear-gradient(135deg, #3a0f5f 0%, #8a5fdc 100%);
    box-shadow: 0 6px 12px rgba(138, 95, 220, 0.5);
    transform: translateY(-2px);
}
/* Focus/active state for accessibility */
.auth-btn:focus,
.profile-btn:focus,
.balance-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #6a3fb5;
}
/* Uniform style for .app-button (fallback for buttons not covered above) */
.app-button {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    cursor: pointer;
}
.app-button:hover {
    background: linear-gradient(135deg, #3a0f5f 0%, #8a5fdc 100%);
    box-shadow: 0 6px 12px rgba(138, 95, 220, 0.5);
    transform: translateY(-2px);
}
.app-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #6a3fb5;
}

/* Violet theme for profile sidebar */
.profile-sidebar {
    background: linear-gradient(135deg, #3a0f5f 0%, #8a5fdc 100%);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(75,0,110,0.18);
    padding: 24px 16px;
}
.profile-sidebar__header {
    background: transparent;
    color: #fff;
    padding-bottom: 12px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}
.profile-sidebar__title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.profile-sidebar__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.profile-sidebar__item {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(75,0,110,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}
.profile-sidebar__item:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(138, 95, 220, 0.18);
}
.profile-sidebar__link {
    display: block;
    width: 100%;
    padding: 12px 18px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    background: transparent;
    box-shadow: none;
    outline: none;
    border: none;
    cursor: pointer;
}
.profile-sidebar__link:hover,
.profile-sidebar__link:focus {
    background: linear-gradient(135deg, #3a0f5f 0%, #8a5fdc 100%);
    color: #fff;
}

/* Violet theme for tables */
.table {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(75,0,110,0.15);
    border: none;
    overflow: hidden;
}
.table th, .table td {
    background: rgba(44, 13, 75, 0.85);
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
}
.table thead {
    background: linear-gradient(90deg, #3a0f5f 60%, #8a5fdc 100%);
    color: #fff;
}
.table tbody tr {
    transition: background 0.2s;
}
.table tbody tr:hover {
    background: linear-gradient(90deg, #3a0f5f 60%, #8a5fdc 100%);
}

/* Fix: recharge-panel-input no blue/white flash on change */
.recharge-panel-input,
.recharge-panel-input[readonly],
.recharge-panel-input:focus,
.recharge-panel-input:active {
    background: #3a0f5f !important;
    color: #fff !important;
    border: 1px solid #6a3fb5 !important;
    box-shadow: none !important;
    transition: border 0.2s, background 0.2s, color 0.2s !important;
}
.recharge-panel-input:focus,
.recharge-panel-input:active {
    border: 2px solid #8a5fdc !important;
    background: #3a0f5f !important;
    color: #fff !important;
    box-shadow: none !important;
}
.recharge-panel-input[readonly] {
    opacity: 1 !important;
    background: #3a0f5f !important;
    color: #fff !important;
    cursor: default !important;
}

/* Remove number input arrows for text-input */
.text-input[type="number"]::-webkit-inner-spin-button,
.text-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.text-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Remove number input arrows for recharge-panel-input-raw */
.recharge-panel-input-raw[type="number"]::-webkit-inner-spin-button,
.recharge-panel-input-raw[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.recharge-panel-input-raw[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Violet theme for nav-item in header */
.nav-item {
    background: transparent;
    color: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: none;
    margin: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-item:hover, .nav-item:focus {
    background: linear-gradient(135deg, #3a0f5f 0%, #8a5fdc 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(138, 95, 220, 0.18);
    transform: translateY(-2px) scale(1.04);
}

/* Violet theme for navbar-mobile */
.navbar-mobile {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(75,0,110,0.18);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    transition: box-shadow 0.2s, background 0.2s;
}
.navbar-mobile .nav-item {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(75,0,110,0.18);
    padding: 10px 18px;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    outline: none;
    margin: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.navbar-mobile .nav-item:hover, .navbar-mobile .nav-item:focus {
    background: linear-gradient(135deg, #3a0f5f 0%, #8a5fdc 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(138, 95, 220, 0.25);
    transform: translateY(-2px) scale(1.05);
}

/* Make navbar-links background transparent on mobile */
@media (max-width: 992px) {
  .navbar-links {
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Modern violet button style for navbar-mobile nav-item */
@media (max-width: 992px) {
  .navbar-mobile .nav-item {
    background: linear-gradient(135deg, #2c0d4b 0%, #6a3fb5 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    margin: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .navbar-mobile .nav-item:hover, .navbar-mobile .nav-item:focus {
    background: linear-gradient(135deg, #3a0f5f 0%, #8a5fdc 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 12px rgba(138, 95, 220, 0.5) !important;
    transform: translateY(-2px) !important;
  }
}
.monitoring {
    display: none !important;
}

