/* ========================================
   SHOP PAGE STYLES
======================================== */

/* Account Info */
.account-info {
    background: linear-gradient(to bottom, rgba(205, 183, 139, 0.3) 0%, rgba(205, 183, 139, 0.1) 100%);
    border: 1px solid rgba(123, 19, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(123, 19, 0, 0.2);
}

.welcome-text {
    color: #4a1e00;
    font-size: 14px;
}

.welcome-text strong {
    color: #7B1300;
}

.btn-logout-small {
    background: linear-gradient(to bottom, #8d0404 0%, #5a0000 100%);
    border: 1px solid #600;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 12px;
}

.btn-logout-small:hover {
    background: linear-gradient(to bottom, #ad2424 0%, #7a2020 100%);
}

/* Balance Cards */
.balance-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.balance-card {
    background: linear-gradient(to bottom, rgba(232, 220, 192, 0.8) 0%, rgba(232, 220, 192, 0.4) 100%);
    border: 1px solid rgba(123, 19, 0, 0.3);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-icon {
    font-size: 24px;
}

.balance-info {
    display: flex;
    flex-direction: column;
}

.balance-label {
    color: #4a1e00;
    font-size: 10px;
}

.balance-value {
    color: #7B1300;
    font-size: 16px;
    font-weight: bold;
}

/* Character Section */
.character-section {
    margin-top: 20px;
}

.character-section h3 {
    color: #7B1300;
    font-size: 14px;
    margin-bottom: 10px;
}

.character-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.character-card {
    background: linear-gradient(to bottom, rgba(232, 220, 192, 0.6) 0%, rgba(232, 220, 192, 0.3) 100%);
    border: 1px solid rgba(123, 19, 0, 0.3);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.character-card:hover {
    border-color: #7B1300;
    background: rgba(205, 183, 139, 0.4);
}

.character-card.selected {
    border-color: #7B1300;
    border-width: 2px;
    background: rgba(123, 19, 0, 0.1);
}

.char-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(to bottom, #5a3d2b 0%, #3a2518 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.char-info {
    flex: 1;
}

.char-name {
    color: #7B1300;
    font-weight: bold;
    font-size: 12px;
    display: block;
}

.char-details {
    color: #4a1e00;
    font-size: 10px;
}

.char-level {
    background: #7B1300;
    color: #F2E69F;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Shop Categories */
.shop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(123, 19, 0, 0.2);
}

.category-btn {
    background: linear-gradient(to bottom, #4a3020 0%, #2a1810 100%);
    border: 1px solid #7B1300;
    border-radius: 4px;
    color: #cdb78b;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    padding: 8px 15px;
    transition: all 0.2s ease;
}

.category-btn:hover {
    background: linear-gradient(to bottom, #5a4030 0%, #3a2820 100%);
    color: #F2E69F;
}

.category-btn.active {
    background: linear-gradient(to bottom, #7B1300 0%, #5a0d00 100%);
    color: #F2E69F;
}

/* Featured Section */
.featured-section,
.items-section {
    margin-bottom: 20px;
}

.featured-section h3,
.items-section h3 {
    color: #7B1300;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Shop Items Grid */
.shop-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.shop-item {
    background: linear-gradient(to bottom, rgba(232, 220, 192, 0.6) 0%, rgba(232, 220, 192, 0.3) 100%);
    border: 1px solid rgba(123, 19, 0, 0.3);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.shop-item:hover {
    border-color: #7B1300;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.shop-item.featured {
    border-color: #c5a15f;
    background: linear-gradient(to bottom, rgba(197, 161, 95, 0.3) 0%, rgba(197, 161, 95, 0.1) 100%);
}

.item-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background: #2a1810;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.item-image img {
    max-width: 100%;
    max-height: 100%;
}

.item-name {
    color: #7B1300;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 5px;
    display: block;
}

.item-desc {
    color: #4a1e00;
    font-size: 9px;
    margin-bottom: 8px;
    display: block;
    line-height: 1.3;
}

.item-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.price-original {
    color: #999;
    font-size: 10px;
    text-decoration: line-through;
}

.price-current {
    color: #7B1300;
    font-size: 14px;
    font-weight: bold;
}

.price-currency {
    color: #4a1e00;
    font-size: 10px;
}

.btn-buy {
    background: linear-gradient(to bottom, #4a6d3b 0%, #2a4518 100%);
    border: 1px solid #4a6d3b;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    padding: 6px 15px;
    width: 100%;
    transition: all 0.2s ease;
}

.btn-buy:hover {
    background: linear-gradient(to bottom, #5a7d4b 0%, #3a5528 100%);
}

.btn-buy:disabled {
    background: #666;
    cursor: not-allowed;
}

/* No items message */
.no-items {
    text-align: center;
    padding: 30px;
    color: #7B1300;
    font-size: 12px;
}

/* Server Status in sidebar */
.server-status {
    padding: 10px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
}

.status-item.offline .status-indicator {
    background: #f44336;
}

.server-name {
    color: #4a1e00;
    font-size: 11px;
    flex: 1;
}

.player-count {
    color: #7B1300;
    font-size: 10px;
    font-weight: bold;
}