.user-panel {
  max-width: 650px;
  margin: 20px auto;
  padding: 20px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #ddd;

  /* DODAJ TO: */
  overflow-y: scroll;        /* wymusz scroll pionowy */
  scrollbar-width: none;     /* Firefox - ukrywa pasek */
  -ms-overflow-style: none;  /* IE 10+ - ukrywa pasek */
}
.user-panel::-webkit-scrollbar {
  display: none;
}
.user-panel h1 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #f0c040;
}

.tabs ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tabs a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    background: #292929;
    color: #eee;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.25s;
}

.tabs a:hover,
.tabs a.active {
    background: #f0c040;
    color: #000;
}

.tab-content {
    display: none;
    padding: 18px;
    background: #111;
    border-radius: 10px;
    border: 1px solid #2d2d2d;
}

.tab-content h2 {
    margin-top: 0;
    font-size: 22px;
    color: #f0c040;
}

/* Formularze i alerty */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #222;
    color: #ddd;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #f0c040;
    color: #000;
    cursor: pointer;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 1px solid #f0c040;
    color: #f0c040;
}

.alert {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 500;
}

.alert.success {
    background: #2ecc71;
    color: #fff;
}

.alert.error {
    background: #e74c3c;
    color: #fff;
}

/* Tabele */
.bonus-table,
.payment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.bonus-table th,
.bonus-table td,
.payment-table th,
.payment-table td {
    padding: 8px;
    border: 1px solid #444;
}

.bonus-table th,
.payment-table th {
    background: #292929;
    color: #f0c040;
}

/* Support */
.support-actions {
    margin: 15px 0;
    display: flex;
    gap: 10px;
}

.support-section {
    margin-bottom: 20px;
}

.ticket-item {
    border: 1px solid #333;
    border-radius: 6px;
    margin-bottom: 10px;
}
.reply-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reply-form textarea {
    resize: vertical;
}

.reply-form .btn-sm {
    align-self: flex-end;
    padding: 6px 12px;
    font-size: 0.9em;
}
.ticket-header {
    padding: 10px;
    background: #292929;
    color: #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.ticket-meta {
    text-align: right;
    font-size: 13px;
    color: #bbb;
}

.ticket-body {
    padding: 10px;
    background: #222;
    display: none;
}

.message {
    margin-bottom: 10px;
    padding: 8px;
    border-left: 4px solid;
}

.message.user {
    border-color: #2ecc71;
}

.message.support {
    border-color: #2980b9;
}
