/* Стили панели управления HunterEye - интегрированы с существующими стилями */

/* Обновляем кнопку панели управления в header */
.navbar a[href="panel.php"] {
    background-color: #3eff3e !important;
    color: #000 !important;
    font-weight: bold;
}

.navbar a[href="panel.php"]:hover {
    background-color: #2ecc2e !important;
}

/* Основные стили панели */
.main-content {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

/* Авторизация */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.auth-card {
    background-color: rgba(36, 36, 36, 0.95);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(62, 255, 62, 0.2);
}

.auth-header img {
    margin-bottom: 20px;
}

.auth-header h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #3eff3e;
}

.auth-header p {
    color: #ccc;
    margin-bottom: 30px;
}

.auth-info {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(51, 51, 51, 0.5);
    border-radius: 10px;
}

.info-item i {
    color: #3eff3e;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.discord-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #5865f2;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 100%;
    margin-bottom: 20px;
}

.discord-login-btn:hover {
    background-color: #4752c4;
}

.discord-login-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.auth-note {
    padding: 15px;
    background-color: rgba(62, 255, 62, 0.1);
    border: 1px solid rgba(62, 255, 62, 0.3);
    border-radius: 10px;
    font-size: 14px;
    color: #ccc;
}

/* Панель управления */
.panel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.panel-header {
    margin-bottom: 40px;
}

.user-welcome {
    display: flex;
    align-items: center;
    background-color: rgba(36, 36, 36, 0.95);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(62, 255, 62, 0.2);
}

.user-avatar {
    margin-right: 20px;
}

.user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #3eff3e;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #5865f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.user-info {
    flex: 1;
}

.user-info h1 {
    font-size: 2em;
    margin-bottom: 5px;
    color: #3eff3e;
}

.user-info p {
    color: #ccc;
    font-size: 1.1em;
}

.user-actions {
    margin-left: 20px;
}

.logout-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(255, 62, 62, 0.2);
    color: #ff3e3e;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s;
    border: 1px solid rgba(255, 62, 62, 0.3);
}

.logout-btn:hover {
    background-color: rgba(255, 62, 62, 0.3);
}

.logout-btn i {
    margin-right: 8px;
}

/* Секция серверов */
.servers-section {
    background-color: rgba(36, 36, 36, 0.95);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(62, 255, 62, 0.2);
}

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

.section-header h2 {
    font-size: 1.8em;
    color: #3eff3e;
}

.servers-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.servers-count {
    background-color: rgba(62, 255, 62, 0.2);
    color: #3eff3e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* Нет серверов */
.no-servers {
    text-align: center;
    padding: 60px 20px;
}

.no-servers-icon {
    font-size: 4em;
    color: #666;
    margin-bottom: 20px;
}

.no-servers h3 {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 1.5em;
}

.no-servers p {
    color: #888;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.add-bot-btn, .help-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.add-bot-btn {
    background-color: #5865f2;
    color: white;
}

.add-bot-btn:hover {
    background-color: #4752c4;
}

.help-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.help-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.add-bot-btn i, .help-btn i {
    margin-right: 10px;
}

/* Сетка серверов */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.server-card {
    background-color: rgba(51, 51, 51, 0.9);
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.server-card:hover {
    background-color: rgba(70, 70, 70, 0.9);
    border-color: #3eff3e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.server-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.server-indicators {
    display: flex;
    align-items: center;
    gap: 15px;
}

.protection-indicator {
    display: flex;
    align-items: center;
}

.protection-icon {
    font-size: 18px;
    transition: all 0.3s ease;
}

.protection-icon.active {
    color: #3eff3e;
    text-shadow: 0 0 8px rgba(62, 255, 62, 0.6);
    filter: drop-shadow(0 0 4px rgba(62, 255, 62, 0.4));
}

.protection-icon.inactive {
    color: #666;
    text-shadow: none;
    filter: none;
}

/* Предупреждение о канале уведомлений */
.server-warning {
    margin-bottom: 15px;
}

.warning-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: rgba(255, 149, 0, 0.2);
    border: 1px solid rgba(255, 149, 0, 0.4);
    border-radius: 8px;
    color: #ff9500;
    font-size: 13px;
    font-weight: bold;
    animation: pulse-warning 2s infinite;
}

.warning-banner i:first-child {
    color: #ff9500;
    font-size: 14px;
}

.warning-banner i:last-child {
    color: #ff9500;
    font-size: 12px;
}

@keyframes pulse-warning {
    0%, 100% { 
        background-color: rgba(255, 149, 0, 0.2);
        border-color: rgba(255, 149, 0, 0.4);
    }
    50% { 
        background-color: rgba(255, 149, 0, 0.3);
        border-color: rgba(255, 149, 0, 0.6);
    }
}

.server-info h3 {
    font-size: 1.4em;
    margin-bottom: 5px;
    color: #3eff3e;
}

.server-id {
    font-size: 12px;
    color: #888;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.active {
    background-color: #3eff3e;
    box-shadow: 0 0 10px rgba(62, 255, 62, 0.5);
}

.status-indicator.inactive {
    background-color: #666;
}

.status-indicator.blocked {
    background-color: #ff3e3e;
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.5);
}

.status-indicator.removed {
    background-color: #888;
    box-shadow: 0 0 10px rgba(136, 136, 136, 0.5);
}

.status-text {
    font-size: 12px;
    color: #ccc;
    font-weight: bold;
}

.server-card-body {
    margin-bottom: 20px;
}

.server-settings {
    margin-bottom: 20px;
}

.protection-status-header {
    margin-bottom: 15px;
    padding: 12px 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.protection-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.protection-status-icon {
    font-size: 16px;
    transition: all 0.3s ease;
}

.protection-status-icon.active {
    color: #3eff3e;
    text-shadow: 0 0 8px rgba(62, 255, 62, 0.6);
    filter: drop-shadow(0 0 3px rgba(62, 255, 62, 0.4));
}

.protection-status-icon.inactive {
    color: #666;
    text-shadow: none;
    filter: none;
}

.protection-status-text {
    font-size: 14px;
    font-weight: bold;
    color: #ccc;
}

.protection-status-header .protection-status-icon.active + .protection-status-text {
    color: #3eff3e;
}

.protection-status-header .protection-status-icon.inactive + .protection-status-text {
    color: #888;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.setting-label {
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.setting-label i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.warning-icon {
    color: #ff9500 !important;
    margin-left: 5px !important;
    margin-right: 0 !important;
    width: auto !important;
    cursor: help;
}

.setting-value {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
}

.setting-value.enabled {
    background-color: rgba(62, 255, 62, 0.2);
    color: #3eff3e;
    border: 1px solid rgba(62, 255, 62, 0.3);
}

.setting-value.notification {
    background-color: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.setting-value.disabled {
    background-color: rgba(255, 255, 255, 0.1);
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

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

.stat-label {
    font-size: 13px;
    color: #ccc;
}

.stat-value {
    font-size: 13px;
    font-weight: bold;
    color: #3eff3e;
}

.server-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.created-date {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
}

.created-date i {
    margin-right: 5px;
}

/* Панель сервера */
.server-panel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.server-panel-header {
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #3eff3e;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    color: #666;
}

.server-title h1 {
    font-size: 2.2em;
    color: #3eff3e;
    margin-bottom: 10px;
}

.server-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.server-id {
    color: #888;
    font-size: 14px;
}

.server-stats-summary {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 14px;
}

.server-stats-summary i {
    margin-right: 5px;
    color: #3eff3e;
}

/* Алерты */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: rgba(62, 255, 62, 0.2);
    border: 1px solid #3eff3e;
    color: #3eff3e;
}

.alert-error {
    background-color: rgba(255, 62, 62, 0.2);
    border: 1px solid #ff3e3e;
    color: #ff3e3e;
}

/* Статистика банов */
.ban-stats-section {
    background-color: rgba(36, 36, 36, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(62, 255, 62, 0.2);
}

.ban-stats-section h2 {
    color: #3eff3e;
    margin-bottom: 20px;
    font-size: 1.6em;
}

.ban-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.ban-stat-card {
    background-color: rgba(51, 51, 51, 0.9);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.ban-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ban-type-cheat {
    border-color: rgba(255, 62, 62, 0.3);
}

.ban-type-cheat:hover {
    border-color: #ff3e3e;
}

.ban-type-dupe {
    border-color: rgba(255, 165, 0, 0.3);
}

.ban-type-dupe:hover {
    border-color: #ffa500;
}

.ban-type-rmt {
    border-color: rgba(255, 215, 0, 0.3);
}

.ban-type-rmt:hover {
    border-color: #ffd700;
}

.ban-type-community {
    border-color: rgba(138, 43, 226, 0.3);
}

.ban-type-community:hover {
    border-color: #8a2be2;
}

.ban-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
}

.ban-type-cheat .ban-stat-icon {
    background-color: rgba(255, 62, 62, 0.2);
    color: #ff3e3e;
}

.ban-type-dupe .ban-stat-icon {
    background-color: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

.ban-type-rmt .ban-stat-icon {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.ban-type-community .ban-stat-icon {
    background-color: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
}

.ban-stat-info h3 {
    color: #3eff3e;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.ban-stat-count {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.ban-stat-last {
    font-size: 11px;
    color: #888;
}

/* Форма настроек */
.server-settings-form {
    background-color: rgba(36, 36, 36, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(62, 255, 62, 0.2);
}

.server-settings-form h2 {
    color: #3eff3e;
    margin-bottom: 25px;
    font-size: 1.6em;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.setting-card {
    background-color: rgba(51, 51, 51, 0.9);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.setting-card:hover {
    border-color: rgba(62, 255, 62, 0.3);
}

.setting-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    flex: 1;
}

.setting-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
}

.setting-icon.cheat {
    background-color: rgba(255, 62, 62, 0.2);
    color: #ff3e3e;
}

.setting-icon.dupe {
    background-color: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

.setting-icon.rmt {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.setting-icon.community {
    background-color: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
}

.setting-info h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #3eff3e;
}

.setting-info p {
    font-size: 14px;
    color: #ccc;
}

.setting-card-body {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.setting-card .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 300px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.setting-card .form-group label {
    margin-bottom: 0;
    color: #ccc;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.form-group label {
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
    font-weight: bold;
}

.setting-card .form-group select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 13px;
    transition: border-color 0.3s;
    min-width: 120px;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3eff3e;
    box-shadow: 0 0 10px rgba(62, 255, 62, 0.2);
}

.form-group input::placeholder {
    color: #888;
}

.setting-card .form-group small {
    display: none;
}

.form-group small {
    margin-top: 5px;
    font-size: 12px;
    color: #888;
}

.setting-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}

/* Дополнительные настройки */
.additional-settings {
    margin-bottom: 40px;
}

.additional-settings h2 {
    color: #3eff3e;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.settings-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Кнопки действий */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: #3eff3e;
    color: #000;
}

.btn-primary:hover {
    background-color: #2ecc2e;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(62, 255, 62, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Справочная информация */
.help-section {
    background-color: rgba(36, 36, 36, 0.95);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(62, 255, 62, 0.2);
}

.help-section h2 {
    color: #3eff3e;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.help-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.help-step {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: rgba(51, 51, 51, 0.5);
    border-radius: 12px;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #3eff3e;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    color: #3eff3e;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.step-content p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
}

/* Трехпозиционный тумблер */
.toggle-switch {
    position: relative;
    width: 280px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.disabled {
    background-color: rgba(255, 62, 62, 0.2);
    border-color: rgba(255, 62, 62, 0.3);
}

.toggle-switch.notification {
    background-color: rgba(255, 165, 0, 0.2);
    border-color: rgba(255, 165, 0, 0.3);
}

.toggle-switch.ban {
    background-color: rgba(62, 255, 62, 0.2);
    border-color: rgba(62, 255, 62, 0.3);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 85px;
    height: 28px;
    background-color: #fff;
    border-radius: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.disabled .toggle-slider {
    left: 2px;
    background-color: #ff3e3e;
    color: white;
}

.toggle-switch.notification .toggle-slider {
    left: 97px;
    background-color: #ffa500;
    color: white;
}

.toggle-switch.ban .toggle-slider {
    left: 193px;
    background-color: #3eff3e;
    color: #000;
}

.toggle-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 9px;
    font-weight: bold;
    pointer-events: none;
}

.toggle-label {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.toggle-switch.disabled .toggle-label:first-child,
.toggle-switch.notification .toggle-label:nth-child(2),
.toggle-switch.ban .toggle-label:last-child {
    color: rgba(255, 255, 255, 0.9);
}

.toggle-input {
    display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .user-welcome {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .help-links {
        flex-direction: column;
        align-items: center;
    }
    
    .server-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .ban-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .help-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 10px;
    }
    
    .auth-card,
    .servers-section,
    .server-settings-form,
    .ban-stats-section,
    .help-section {
        padding: 20px;
    }
    
    .user-welcome {
        padding: 20px;
    }
    
    .server-card {
        padding: 20px;
    }
    
    .setting-card {
        padding: 20px;
    }
}

/* Критически важные настройки */
.critical-settings {
    background: transparent !important;
    border: 2px solid #3eff3e;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(62, 255, 62, 0.15);
    position: relative;
    overflow: hidden;
}

/* Убираем любые белые фоны внутри критического блока */
.critical-settings * {
    background-color: transparent !important;
}

.critical-settings .form-group {
    background: transparent !important;
}

.critical-settings .form-group input[type="text"] {
    background-color: transparent !important;
    color: #3eff3e !important;
}

.critical-settings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3eff3e, #2ecc2e, #3eff3e);
    animation: criticalPulse 2s ease-in-out infinite;
}

@keyframes criticalPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.critical-notification-block {
    background: transparent !important;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(62, 255, 62, 0.3);
    margin-top: 15px;
}

.critical-field input[type="text"] {
    font-size: 16px !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.critical-field input[type="text"]:focus {
    border-color: #2ecc2e !important;
    box-shadow: 0 0 0 3px rgba(62, 255, 62, 0.1) !important;
    background-color: transparent !important;
    color: #3eff3e !important;
}

.critical-field label {
    font-size: 16px !important;
    margin-bottom: 8px !important;
    color: #3eff3e !important;
}

.critical-field small {
    font-size: 14px !important;
    margin-top: 8px !important;
    display: block !important;
}

/* Адаптивность для критических настроек */
@media (max-width: 768px) {
    .critical-settings {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .critical-notification-block {
        padding: 15px;
    }
}
