.rz-panel-titlebar {
  flex-direction: row-reverse;
  margin-right: auto;
}

:root {
  --rz-card-border-radius: 1rem !important;
  --rz-panel-border-radius: 1rem !important;
  --rz-button-border-radius: 1rem !important;
  --rz-input-border-radius: 1rem !important;
}

.rz-data-grid {
  border-radius: 1rem !important;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.25), 0 1.5px 6px 0 rgba(0,0,0,0.18) !important;
}

.rz-text-body2 {
  margin-bottom: 0 !important;
}

.rz-text-body1 {
  margin-bottom: 0 !important;
}

.rz-p-4 {
  padding: 0.25rem !important;
}

.rz-text-overline {
  font-weight: 950 !important;
}

.rz-card {  
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.25), 0 1.5px 6px 0 rgba(0,0,0,0.18) !important;
}

.rz-dropdown {
  width: 100% !important;
  box-shadow: var(--rz-button-shadow);
}

/* Jackpot Style Spinner */
.jackpot-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: var(--rz-primary, #013d7b);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.jackpot-window {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--rz-white, #e0fdd6);
    border-radius: 15px;
    box-shadow: inset 0 5px 15px rgba(1, 61, 123, 0.3);
}

.jackpot-reel {
    position: relative;
    transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.jackpot-reel.no-transition {
    transition: none;
}

.jackpot-item {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    /* color: var(--rz-primary, #013d7b); */
    text-shadow: 0 1px 2px rgba(1, 61, 123, 0.3);
    border-bottom: 1px solid var(--rz-primary, #013d7b);
    background: var(--rz-grid-stripe-background-color, #e0fdd6);
    padding: 0 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.jackpot-item:nth-child(even) {
    background: var(--rz-grid-stripe-odd-background-color, #c7e7bb);
}

.jackpot-item.winner {
    background: var(--rz-dropdown-item-hover-background-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: winner-glow 1s ease-in-out infinite alternate;
    font-size: 18px;
    transform: scale(1.05);
}

@keyframes winner-glow {
    from { box-shadow: inset 0 0 15px rgba(255,255,255,0.3); }
    to { box-shadow: inset 0 0 25px rgba(255,255,255,0.6); }
}

/* Update Notification Styles */
.update-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.update-notification-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
    margin: 1rem;
}

.update-notification-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.update-notification-header h4 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.update-notification-header .rz-icon {
    color: #0066cc;
    font-size: 1.5rem;
}

.update-notification-body {
    padding: 1.5rem;
}

.update-notification-body p {
    margin: 0 0 0.75rem 0;
    color: #5a6c7d;
}

.update-notification-body p:last-child {
    margin-bottom: 0;
}

.version-info {
    font-weight: 600;
    color: #2c3e50 !important;
    font-size: 0.9rem;
}

.update-description {
    font-size: 0.9rem;
    color: #7a8a99 !important;
}

.update-notification-actions {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.update-notification-actions .rz-button {
    min-width: 100px;
}

/* Dark theme support */
[data-theme="dark"] .update-notification-card {
    background: #2c3e50;
    border: 1px solid #34495e;
}

[data-theme="dark"] .update-notification-header {
    border-bottom-color: #34495e;
}

[data-theme="dark"] .update-notification-header h4 {
    color: #ecf0f1;
}

[data-theme="dark"] .update-notification-body p {
    color: #bdc3c7;
}

[data-theme="dark"] .version-info {
    color: #ecf0f1 !important;
}

