.aka-user-panel {
    display: flex;
    justify-content: space-around;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
}

.aka-user-panel-item {
    text-align: center;
    padding: 10px;
}

.aka-user-panel-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.aka-user-panel-item a:hover {
    transform: translateY(-2px);
    color: #4a90e2;
}

.aka-user-panel-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.aka-user-panel-item span {
    font-size: 14px;
    font-weight: 500;
}

.orders-panel {
    display: none;
    margin-top: 20px;
    background: linear-gradient(145deg, #f8f9fa, #f1f3f5);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    background: #ffffff;
}

.order-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.order-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    margin-right: 20px;
}

.order-info {
    flex-direction: column;
    align-items: flex-start;
}

.order-number {
    font-weight: normal;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.order-status.completed {
    background-color: #C8E6C9;
    color: #2E7D32;
}

.order-status.processing {
    background-color: #E3F2FD;
    color: #1976D2;
}

.order-status.on-hold {
    background-color: #FFF3E0;
    color: #EF6C00;
}

.order-status.pending {
    background-color: #FCE4EC;
    color: #C2185B;
}

.order-price {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-left: 20px;
}

.order-products {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
    margin-bottom: 12px;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    display: block;
    margin-bottom: 4px;
}

.order-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: #7f8c8d;
}

.order-license {
    margin-left: 20px;
}

.license-button {
    background: linear-gradient(145deg, #3498db, #2980b9);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.license-button:hover {
    background: linear-gradient(145deg, #2980b9, #3498db);
    transform: translateY(-1px);
    color: white;
}

/* RTL Support */
.aka-user-panel, 
.orders-panel, 
.spotplayer-shortcode {
    direction: rtl;
    text-align: right;
    font-family: 'Vazir', 'Tahoma', sans-serif;
}

.spotplayer-shortcode {
    margin-top: 20px;
}

/* Responsive styles for mobile devices */
@media (max-width: 600px) {
    .aka-user-panel {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 10px;
    }

    .aka-user-panel-item {
        margin-bottom: 10px;
        padding: 8px 0;
    }

    .aka-user-panel-item:last-child {
        margin-bottom: 0;
    }

    .orders-panel {
        padding: 10px;
        border-radius: 10px;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .order-info {
        margin-right: 0;
        margin-bottom: 8px;
        gap: 6px;
    }

    .order-meta {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .order-price {
        width: 100%;
        text-align: left;
        margin: 8px 0;
    }

    .product-name {
        font-size: 15px;
    }

    .order-license {
        width: 100%;
        margin: 10px 0 0 0;
        text-align: center;
    }

    .license-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
        margin: 0;
    }
}
