/* General Dashboard & Tabs */
.bts-army-container { padding: 15px; border: 1px solid #eee; border-radius: 5px; background: #fff; margin-top: 20px; }
.bts-message-success { padding: 10px; background: #d4edda; border: 1px solid #c3e6cb; color: #155724; border-radius: 4px; margin: 10px 0; }
.bts-message-error { padding: 10px; background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; border-radius: 4px; margin: 10px 0; }
#item-body .item-list-tabs ul li.current a { background: #6a1b9a; color: #fff; }

/* Wallet */
.bts-wallet-balance { background: linear-gradient(45deg, #6a1b9a, #8e24aa); color: #fff; padding: 20px; text-align: center; border-radius: 8px; margin-bottom: 20px; }
.bts-wallet-balance p { margin: 0; font-size: 16px; opacity: 0.8; }
.bts-wallet-balance span { font-size: 32px; font-weight: bold; display: block; }
.bts-transaction-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.bts-transaction-table th, .bts-transaction-table td { padding: 12px; border-bottom: 1px solid #ddd; text-align: left; }
.bts-transaction-table th { background-color: #f9f9f9; }
.bts-transaction-table tr.credit td:last-child { color: green; font-weight: bold; }
.bts-transaction-table tr.debit td:last-child { color: red; font-weight: bold; }

/* Gifts */
#send-gift-btn { margin-left: 10px; }
.bts-gifts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 15px; }
.bts-received-gift-item { text-align: center; padding: 10px; background: #fafafa; border-radius: 5px; }
.bts-received-gift-item img { border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); max-width: 80px; }
.bts-modal { display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); }
.bts-modal-content { background-color: #fefefe; margin: 10% auto; padding: 20px; border: 1px solid #888; width: 90%; max-width: 700px; border-radius: 8px; position: relative; }
.bts-modal-close { color: #aaa; position: absolute; top: 10px; right: 20px; font-size: 28px; font-weight: bold; cursor: pointer; }
.bts-gift-list-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 15px; margin-top: 20px; max-height: 400px; overflow-y: auto; }
.bts-gift-item { border: 1px solid #ddd; padding: 10px; text-align: center; cursor: pointer; border-radius: 4px; transition: all 0.2s ease-in-out; }
.bts-gift-item:hover { background-color: #f0f0f0; transform: scale(1.05); }
.bts-gift-item img { max-width: 100%; height: auto; }
.bts-gift-item h4 { font-size: 14px; margin: 5px 0; }
.bts-gift-item p { font-size: 12px; margin: 0; color: #6a1b9a; font-weight: bold; }

/* Spin Wheel */
#spin-container { position: relative; display: flex; flex-direction: column; align-items: center; }
#spin-the-wheel-btn { margin-top: -30px; padding: 12px 25px; font-size: 18px; cursor: pointer; border: none; background: #6a1b9a; color: #fff; border-radius: 50px; font-weight: bold; z-index: 10; }
#spin-the-wheel-btn:disabled { background: #999; }