/* SweetAlert2 Pirate Style*/
.swal2-popup {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(40, 20, 10, 0.95) 100%);
    border: 3px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.swal2-title {
    color: #FFD700;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.swal2-html-container {
    color: #FFD700;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 1.1em;
}

.swal2-confirm {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    border: 2px solid #8B4513;
    font-family: "Pixelify Sans", sans-serif;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 1em;
}

.swal2-confirm:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
}

.swal2-cancel {
    background: rgba(100, 100, 100, 0.7);
    color: #FFD700;
    border: 2px solid #6B6B6B;
    font-family: "Pixelify Sans", sans-serif;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 1em;
}

.swal2-cancel:hover {
    background: rgba(80, 80, 80, 0.8);
    transform: scale(1.05);
}

.swal2-icon {
    border-color: #FFD700 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: #FFD700 !important;
}

.swal2-icon.swal2-success [class*='swal2-success-line'] {
    background-color: #FFD700 !important;
}

/* Leaderboard table inside SweetAlert */
.swal2-popup table {
  width: 100%;
  border-collapse: collapse;
  color: #2c1810;
}

.swal2-popup table th {
  background: #2c1810;
  color: gold;
  padding: 8px;
  border: 1px solid gold;
}

.swal2-popup table td {
  padding: 6px 10px;
  border: 1px solid #ccc;
  text-align: center;
}

.swal2-popup table tr:nth-child(even) {
  background: #f5e6c8;
}

.swal2-popup table tr:nth-child(odd) {
  background: #fff;
}

.swal2-popup table tr:first-child td {
  font-weight: bold;
  color: goldenrod;
}

.swal2-popup {
    overflow: hidden !important;
}

.swal2-html-container {
    overflow: hidden !important;
}

.swal2-popup {
    overflow: hidden !important;
    max-height: 90vh;
}