* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Z-INDEX HIERARCHY */
/* 
1 - Base content (cards, lists, etc)
10 - Header (sticky)
50 - Dropdowns/Tooltips
100 - Provider slots lists
99999 - Slot search autocomplete (MÁXIMO!)
1000 - Modals background
1001 - Modals content
10000 - Notifications
*/

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 5px;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 10px;
    padding: 5px;
}

.lang-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #c084fc;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.lang-btn.active {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: rgba(168, 85, 247, 0.2);
}

/* Login Page */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.2);
    position: relative;
}

.login-lang {
    position: absolute;
    top: 20px;
    right: 20px;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
}

.login-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.login-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.login-subtitle {
    text-align: center;
    color: #c084fc;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #e9d5ff;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.5);
}

/* Main App */
.app {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.app.active {
    opacity: 1;
    pointer-events: auto;
}

/* Header */
header {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.5);
}

.header-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.header-title h1 {
    font-size: 24px;
    font-weight: bold;
}

.header-title p {
    font-size: 14px;
    color: #c084fc;
}

.btn-settings {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 10px;
    color: #c4b5fd;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-settings:hover {
    background: rgba(168, 85, 247, 0.3);
    transform: rotate(90deg);
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #fca5a5;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Navigation */
nav {
    background: rgba(30, 41, 59, 0.2);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.nav-content {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    overflow-x: auto;
}

.nav-btn {
    padding: 10px 24px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #c084fc;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-btn.active {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
}

.nav-btn:hover:not(.active) {
    background: rgba(51, 65, 85, 0.5);
    color: white;
}

/* Main Content */
main {
    padding: 40px 0;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

/* Cards */
.card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.1);
    position: relative;
    z-index: 1;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.1);
}

.stat-card.purple { border: 1px solid rgba(168, 85, 247, 0.2); }
.stat-card.blue { border: 1px solid rgba(59, 130, 246, 0.2); }
.stat-card.green { border: 1px solid rgba(34, 197, 94, 0.2); }

.stat-card h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-card.purple h3 { color: #c084fc; }
.stat-card.blue h3 { color: #93c5fd; }
.stat-card.green h3 { color: #86efac; }

.stat-card p {
    font-size: 40px;
    font-weight: bold;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.form-grid input,
.form-grid select {
    padding: 12px 16px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 14px;
}

.form-grid input:focus,
.form-grid select:focus {
    outline: none;
    border-color: #a855f7;
}

.form-grid select option {
    background: #1e293b;
    color: white;
}

.form-label {
    display: block;
    color: #e9d5ff;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Search Bar */
.search-bar {
    margin-bottom: 20px;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 14px;
}

.search-bar input:focus {
    outline: none;
    border-color: #a855f7;
}

/* Provider Groups */
.provider-group {
    margin-bottom: 30px;
}

.provider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.provider-header:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(168, 85, 247, 0.4);
}

.provider-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.provider-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #c084fc;
    margin: 0;
}

.provider-count {
    font-size: 14px;
    color: #94a3b8;
    background: rgba(168, 85, 247, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.provider-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* Compact Slot Cards */
.slot-card-compact {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    gap: 10px;
}

.slot-card-compact:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(30, 41, 59, 0.4);
    transform: translateX(5px);
}

.slot-compact-info {
    flex: 1;
    min-width: 0;
}

.slot-compact-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slot-compact-image {
    font-size: 11px;
    color: #94a3b8;
    background: rgba(51, 65, 85, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Default Slot Icon */
.slot-default-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 8px;
    padding: 4px;
}

.slot-default-icon svg {
    width: 100%;
    height: 100%;
}

.slot-compact-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-icon-small {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-small:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
}

.btn-icon-small.btn-icon-danger {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.btn-icon-small.btn-icon-danger:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

/* Super Bonus Badge */
.super-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    animation: pulse 2s ease-in-out infinite;
}

.super-badge svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.6));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Hunt Statistics Card */
.hunt-stats-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 246, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

.hunt-stats-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #c084fc;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.stat-item {
    background: rgba(51, 65, 85, 0.4);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.stat-item-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item-value {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.stat-item-value.positive {
    color: #22c55e;
}

.stat-item-value.negative {
    color: #ef4444;
}

.stat-item-value.neutral {
    color: #c084fc;
}

/* Sort Buttons */
.bonus-sort-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 10px;
    gap: 10px;
    flex-wrap: wrap;
}

.bonus-sort-label {
    font-size: 14px;
    color: #c084fc;
    font-weight: 600;
}

.bonus-sort-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-sort {
    padding: 8px 14px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    color: #c084fc;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-sort:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
    transform: translateY(-2px);
}

.btn-sort.active {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
    border-color: transparent;
}

/* Bonus List Compact */
.bonus-list-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.bonus-item-compact {
    background: rgba(51, 65, 85, 0.4);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    cursor: grab;
}

.bonus-item-compact:active {
    cursor: grabbing;
}

.bonus-item-compact.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.bonus-item-compact:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(51, 65, 85, 0.6);
}

.bonus-item-compact.opened {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.1);
}

.bonus-drag-handle {
    color: #94a3b8;
    cursor: grab;
    font-size: 18px;
    flex-shrink: 0;
}

.bonus-drag-handle:active {
    cursor: grabbing;
}

.bonus-info-compact {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bonus-slot-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bonus-bet-value {
    font-size: 14px;
    font-weight: 600;
    color: #c084fc;
    white-space: nowrap;
}

.bonus-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bonus-status-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-status-badge.opened {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.bonus-status-badge.not-opened {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.bonus-result-value {
    font-size: 14px;
    font-weight: bold;
    color: #22c55e;
    white-space: nowrap;
}

/* Bonus Multi Badge */
.bonus-multi-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 700;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
    white-space: nowrap;
}

.bonus-actions-compact {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.btn-open-bonus {
    padding: 6px 14px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-open-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

/* MODAL OVERLAY GENÉRICO */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* <--- MENOR que image picker */
    animation: fadeIn 0.3s ease;
}

.modal {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.4);
    animation: scaleIn 0.3s ease;
    position: relative;
    z-index: 1001;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
}

.modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.modal-subtitle {
    text-align: center;
    color: #c084fc;
    font-size: 14px;
    margin-bottom: 25px;
}

.modal-input-group {
    margin-bottom: 20px;
}

.modal-input-label {
    display: block;
    font-size: 14px;
    color: #e9d5ff;
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(51, 65, 85, 0.7);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.modal-input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
}

.modal-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 10px;
    margin-bottom: 20px;
}

.modal-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal-checkbox-label {
    color: #fbbf24;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
}

.modal-buttons {
    display: flex;
    gap: 15px;
}

.modal-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn-cancel {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.modal-btn-cancel:hover {
    background: rgba(239, 68, 68, 0.3);
}

.modal-btn-confirm {
    background: linear-gradient(135deg, #22c55e, #10b981);
    color: white;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
}

.modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
}

.modal-btn-primary {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
}

/* Open Bonus Modal */
.open-bonus-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.open-bonus-modal {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.4);
    animation: scaleIn 0.3s ease;
    position: relative;
    z-index: 1001;
}

.open-bonus-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
}

.open-bonus-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.open-bonus-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.open-bonus-slot-info {
    text-align: center;
    margin-bottom: 25px;
}

.open-bonus-slot-name {
    font-size: 20px;
    font-weight: 600;
    color: #c084fc;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.open-bonus-provider {
    font-size: 14px;
    color: #94a3b8;
}

.open-bonus-details {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.open-bonus-detail-item {
    text-align: center;
}

.open-bonus-detail-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.open-bonus-detail-value {
    font-size: 18px;
    font-weight: bold;
    color: #c084fc;
}

.open-bonus-input-group {
    margin-bottom: 25px;
}

.open-bonus-input-label {
    display: block;
    font-size: 14px;
    color: #e9d5ff;
    margin-bottom: 10px;
    font-weight: 600;
}

.open-bonus-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(51, 65, 85, 0.7);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
}

.open-bonus-input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
}

.open-bonus-buttons {
    display: flex;
    gap: 15px;
}

.open-bonus-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.open-bonus-btn-cancel {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.open-bonus-btn-cancel:hover {
    background: rgba(239, 68, 68, 0.3);
}

.open-bonus-btn-confirm {
    background: linear-gradient(135deg, #22c55e, #10b981);
    color: white;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
}

.open-bonus-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
}

/* Widgets Page */
.widgets-header {
    text-align: center;
    margin-bottom: 40px;
}

.widgets-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
}

.widgets-icon svg {
    stroke: white;
}

/* Widgets List */
.widgets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.widget-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    animation: slide 3s infinite;
}

.widget-card:hover {
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3);
}

.widget-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.widget-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.5);
}

.widget-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.widget-card-title {
    flex: 1;
}

.widget-card-title h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: white;
}

.widget-card-title p {
    font-size: 14px;
    color: #94a3b8;
}

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

.widget-spec {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.widget-spec:last-child {
    border-bottom: none;
}

.widget-spec-label {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-spec-value {
    font-size: 14px;
    color: #c084fc;
    font-weight: 600;
}

.widget-card-actions {
    display: flex;
    gap: 10px;
}

.btn-widget {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
}

.btn-widget-secondary {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-widget-secondary:hover {
    background: rgba(168, 85, 247, 0.3);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
}

/* Old Slots Grid */
.slots-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slot-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s;
}

.slot-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-5px);
}

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

.slot-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.slot-card p {
    color: #c084fc;
    font-size: 14px;
}

.slot-image {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    color: #94a3b8;
    word-break: break-all;
}

.btn-icon {
    background: none;
    border: none;
    color: #f87171;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}

.btn-icon:hover {
    color: #ef4444;
}

/* Bonus List */
.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bonus-item {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bonus-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.bonus-info p {
    color: #c084fc;
    font-size: 14px;
}

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

.bonus-amount {
    text-align: right;
}

.bonus-amount .bet {
    font-size: 18px;
    font-weight: bold;
}

.bonus-amount .balance {
    font-size: 14px;
    color: #c084fc;
}

/* Alert Box */
.alert-box {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-icon {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.alert-content p {
    color: #86efac;
    font-size: 14px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state p {
    color: #c084fc;
    font-size: 18px;
}

/* Custom Confirmation Modal */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.confirm-modal {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3);
    animation: scaleIn 0.3s ease;
    position: relative;
    z-index: 1001;
}

.confirm-icon {
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirm-icon svg {
    width: 30px;
    height: 30px;
    stroke: #f87171;
}

.confirm-title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.confirm-description {
    text-align: center;
    color: #c084fc;
    font-size: 14px;
    margin-bottom: 30px;
}

.confirm-buttons {
    display: flex;
    gap: 15px;
}

.confirm-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.confirm-btn-yes {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.3);
}

.confirm-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.5);
}

.confirm-btn-no {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.confirm-btn-no:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
}

/* AUTOCOMPLETE SLOT SEARCH - APARECE POR CIMA DO INPUT */
.slot-search-results {
    position: absolute !important;
    bottom: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(139, 92, 246, 0.6);
    border-radius: 12px;
    margin-bottom: 5px;
    z-index: 99999 !important;
    box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(139, 92, 246, 0.3);
}

.slot-search-results::-webkit-scrollbar {
    width: 8px;
}

.slot-search-results::-webkit-scrollbar-track {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 4px;
}

.slot-search-results::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.6);
    border-radius: 4px;
}

.slot-search-item {
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.slot-search-item:last-child {
    border-bottom: none;
}

.slot-search-item:hover {
    background: rgba(139, 92, 246, 0.2);
}

.slot-search-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.slot-search-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.slot-search-item-provider {
    font-size: 13px;
    color: #a78bfa;
}

.slot-search-no-results {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.slot-search-info {
    padding: 12px 18px;
    text-align: center;
    color: #a78bfa;
    font-size: 13px;
    background: rgba(139, 92, 246, 0.1);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    z-index: 10000;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

.notification.success {
    background: rgba(34, 197, 94, 0.9);
    border: 1px solid rgba(34, 197, 94, 0.5);
}

.notification.error {
    background: rgba(239, 68, 68, 0.9);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.notification.profit {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(16, 185, 129, 0.95));
    border: 2px solid rgba(34, 197, 94, 0.8);
    padding: 20px 30px;
    font-size: 16px;
}

.notification.loss {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
    border: 2px solid rgba(239, 68, 68, 0.8);
    padding: 20px 30px;
    font-size: 16px;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(168, 85, 247, 0.2);
    border-top-color: #a855f7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #10b981);
}

.btn-danger {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

/* IMAGE PICKER MODAL */
.image-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001; /* <--- MAIOR que qualquer modal */
    animation: fadeIn 0.3s ease;
}

.image-picker-modal {
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 20px;
    width: 90%;
    max-width: 1400px;
    height: 85vh;
    max-height: 850px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.4);
    animation: scaleIn 0.3s ease;
    overflow: hidden;
}

.image-picker-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-picker-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.image-picker-close {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #f87171;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.image-picker-close:hover {
    background: rgba(239, 68, 68, 0.3);
}

.image-picker-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.image-picker-sidebar {
    width: 280px;
    background: rgba(15, 23, 42, 0.5);
    border-right: 1px solid rgba(168, 85, 247, 0.2);
    overflow-y: auto;
    padding: 20px;
}

.image-picker-sidebar h3 {
    font-size: 14px;
    color: #c084fc;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.folder-tree {
    list-style: none;
}

.folder-item {
    margin-bottom: 5px;
}

.folder-button {
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #e2e8f0;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.folder-button:hover {
    background: rgba(168, 85, 247, 0.2);
}

.folder-button.active {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
    font-weight: 600;
}

.folder-icon {
    font-size: 16px;
}

.image-picker-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.image-picker-toolbar {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-picker-breadcrumb {
    font-size: 14px;
    color: #94a3b8;
}

.breadcrumb-item {
    color: #c084fc;
    cursor: pointer;
    transition: all 0.2s;
}

.breadcrumb-item:hover {
    color: #a855f7;
}

.image-picker-search {
    width: 300px;
    padding: 10px 15px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 14px;
}

.image-picker-search:focus {
    outline: none;
    border-color: #a855f7;
}

.image-picker-grid {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.image-card {
    background: rgba(51, 65, 85, 0.3);
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.image-card:hover {
    border-color: #a855f7;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.image-card.selected {
    border-color: #22c55e;
    border-width: 3px;
}

.image-card-preview {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.5);
    overflow: hidden;
}

.image-card-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-card-info {
    padding: 10px;
    background: rgba(30, 41, 59, 0.8);
}

.image-card-name {
    font-size: 12px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-card-selected-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.5);
}

.image-picker-pagination {
    padding: 20px 30px;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagination-info {
    font-size: 14px;
    color: #94a3b8;
}

.pagination-buttons {
    display: flex;
    gap: 10px;
}

.pagination-btn {
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    color: #c084fc;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.image-picker-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-image-preview {
    display: flex;
    align-items: center;
    gap: 15px;
}

.selected-image-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.selected-image-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.selected-image-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selected-image-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.selected-image-path {
    font-size: 12px;
    color: #94a3b8;
}

.image-picker-actions {
    display: flex;
    gap: 15px;
}

.image-picker-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.image-picker-btn-cancel {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.image-picker-btn-cancel:hover {
    background: rgba(239, 68, 68, 0.3);
}

.image-picker-btn-confirm {
    background: linear-gradient(135deg, #22c55e, #10b981);
    color: white;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
}

.image-picker-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
}

.image-picker-btn-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.empty-folder {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.empty-folder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Button to open image picker */
.btn-choose-image {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-choose-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.4);
}

.image-preview-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.image-preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-preview-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-preview-path {
    font-size: 12px;
    color: #94a3b8;
}

/* Botão Iniciar Abertura */
.btn-open-hunt {
    padding: 12px 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-open-hunt:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .provider-slots {
        grid-template-columns: 1fr;
    }

    .bonus-item {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }

    .bonus-stats {
        width: 100%;
        justify-content: space-between;
    }

    .bonus-item-compact {
        flex-wrap: wrap;
    }

    .bonus-info-compact {
        flex-basis: 100%;
    }

    .bonus-status {
        flex-basis: 100%;
        justify-content: space-between;
    }

    .bonus-sort-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .bonus-sort-buttons {
        flex-direction: column;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .header-right {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .slot-card-compact {
        flex-direction: column;
        align-items: start;
    }

    .slot-compact-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .confirm-modal {
        padding: 30px 20px;
    }

    .confirm-buttons {
        flex-direction: column;
    }

    .open-bonus-modal, .modal {
        padding: 30px 20px;
    }

    .open-bonus-buttons, .modal-buttons {
        flex-direction: column;
    }

    .open-bonus-details {
        flex-direction: column;
        gap: 10px;
    }
}

/* Settings Modal Styles */
.settings-mode-selector {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.settings-mode-option {
    flex: 1;
    padding: 20px;
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.settings-mode-option:hover {
    border-color: rgba(168, 85, 247, 0.6);
    background: rgba(30, 41, 59, 0.7);
}

.settings-mode-option.active {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.settings-mode-option input[type="radio"] {
    display: none;
}

.settings-mode-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.settings-mode-description {
    font-size: 14px;
    color: #94a3b8;
}

.settings-api-config {
    display: none;
    animation: fadeIn 0.3s ease;
}

.settings-api-config.active {
    display: block;
}

.settings-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-status.valid {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.settings-status.invalid {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.settings-status.testing {
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.3);
    color: #fde047;
}
